How to get the dang thing to work (Was: Linux: How to statically link against system libs?)
Nick Sabalausky
a at a.a
Wed Apr 27 13:56:33 PDT 2011
"Nick Sabalausky" <a at a.a> wrote in message
news:ip9va1$2lbe$1 at digitalmars.com...
> "Spacen Jasset" <spacenjasset at yahoo.co.uk> wrote in message
> news:ip9n5d$27je$1 at digitalmars.com...
>>
>> try lsb_release for this, if you aren't sure (and it's available as a
>> command)
>>
>> jason at ionrift:~$ lsb_release -a
>> No LSB modules are available.
>> Distributor ID: Ubuntu
>> Description: Ubuntu 10.04.2 LTS
>> Release: 10.04
>> Codename: lucid
>>
>> otherwise cat /etc/*release*
>>
>
> On my system, the one I'm compiling on, I get:
>
> $ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 10.04.1 LTS
> Release: 10.04
> Codename: lucid
>
> On the main server I just get:
>
> $ lsb_release -a
> -jailshell: lsb_release: command not found
>
On the main server, cat /etc/*release* doesn't work either:
$ cat /etc/*release*
cat: cat /etc/*release*: No such file or directory
More information about the Digitalmars-d-learn
mailing list