/compat/linux/usr/bin/ldd always reports not a dynamic executable

2013-09-03 Thread Kostas Oikonomou
I am on FreeBSD 9.1, and I'm trying to use /compat/linux/usr/bin/ldd to tell me what libraries are needed by libpython2.7.so, a library obtained from a linux system. But all I get is not a dynamic executable. In fact, the same thing happens if I run this ldd on a library in /compat/linux/lib

must /compat/linux stay in root-fs?

2010-01-10 Thread Matthias Apitz
Hello, On installing my laptop I did the 1st error and assigned only 512 MByte to the /root partition; now it turned out (2nd error) that somehow all /compat/linux stuff ended up in the /root partition: # du -sh /boot /compat 145M/boot 221M/compat and I don't even can install a new

Re: must /compat/linux stay in root-fs?

2010-01-10 Thread Polytropon
On Sun, 10 Jan 2010 11:21:02 +0100, Matthias Apitz g...@unixarea.de wrote: Can I safely move the /compat tu /usr/local/compat and do a symlink to let point /compat -- /usr/local/compat or is there some reason that linux-f10 ports put all into /compat in root-fs? I don't see any problem to do

Re: must /compat/linux stay in root-fs?

2010-01-10 Thread RW
On Sun, 10 Jan 2010 11:21:02 +0100 Matthias Apitz g...@unixarea.de wrote: Can I safely move the /compat tu /usr/local/compat and do a symlink to let point /compat -- /usr/local/compat or is there some reason that linux-f10 ports put all into /compat in root-fs? For me /compat was a symlink

Re: compat/linux program claims no write access to ~

2008-10-07 Thread Boris Samorodov
Steve Franks [EMAIL PROTECTED] writes: Sounds like a bogus error to me. I just downgraded amd64 to i386, reinstalled a linux program and it claims it can't write to ~ now. I'm running it, and I have no reason to think it wouldn't run as me. ~ is 775 anyway. Also, running the linux program

compat/linux program claims no write access to ~

2008-10-06 Thread Steve Franks
Sounds like a bogus error to me. I just downgraded amd64 to i386, reinstalled a linux program and it claims it can't write to ~ now. I'm running it, and I have no reason to think it wouldn't run as me. ~ is 775 anyway. Also, running the linux program as su or sudo gives the same error. Any

/compat/linux/bin/cp Bad file descriptor

2008-04-03 Thread Liang Zhang
I installed linux_base-fc4 from Ports. When I use /compat/linux/bin/cp with option -p, an error occurred. For example, I type: $ /compat/linux/bin/cp -p a b This message is shown: /compat/linux/bin/cp: preserving times for `b': Bad file descriptor Does anyone know this? Thanks

linux program only runs from /compat/linux/usr/lib

2008-02-13 Thread Steve Franks
If I cd to /compat/linux/usr/lib, and start nameless linux app, it runs fine. If I start it from any other location, I get /usr/lib/libfontconfig.so.1 : wrong ABI. So the app is finding the FreeBSD lib instead of the Linux one. I tried putting /compat/linux/usr/lib at the very front of my path

Re: linux program only runs from /compat/linux/usr/lib

2008-02-13 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve Franks wrote: If I cd to /compat/linux/usr/lib, and start nameless linux app, it runs fine. If I start it from any other location, I get /usr/lib/libfontconfig.so.1 : wrong ABI. So the app is finding the FreeBSD lib instead of the Linux one

Re: linux compat: path problem? /compat/linux/bin/sh doesn't work!

2008-02-13 Thread Boris Samorodov
On Mon, 11 Feb 2008 19:11:32 +0100 (CET) Wojciech Puchar wrote: serafina# dmesg -a | grep -A1 ABI Additional ABI support: linux serafina# /etc/rc.d/abi restart Additional ABI support: linux. magic starts here. sorry. :-) serafina# /compat/linux/bin/sh sh-3.00# ls ls: error

Re: linux program only runs from /compat/linux/usr/lib

2008-02-13 Thread Boris Samorodov
On Tue, 12 Feb 2008 14:39:09 -0700 Steve Franks wrote: If I cd to /compat/linux/usr/lib, and start nameless linux app, it runs fine. If I start it from any other location, I get /usr/lib/libfontconfig.so.1 : wrong ABI. So the app is finding the FreeBSD lib instead of the Linux one. I tried

linux program only runs from /compat/linux/usr/lib

2008-02-12 Thread Steve Franks
If I cd to /compat/linux/usr/lib, and start nameless linux app, it runs fine. If I start it from any other location, I get /usr/lib/libfontconfig.so.1 : wrong ABI. So the app is finding the FreeBSD lib instead of the Linux one. I tried putting /compat/linux/usr/lib at the very front of my path

Re: linux compat: path problem? /compat/linux/bin/sh doesn't work!

2008-02-11 Thread Steve Franks
So my problem is that things are expecting libs in /usr/compat/linux/lib instead of /usr/compat/linux/usr/lib, and when they don't find it in linux/lib they go straight to the FreeBSD version? So should I be fixing my path, or linking linux/usr/lib to linux/lib, or what? Steve On Feb 11, 2008

Re: linux compat: path problem? /compat/linux/bin/sh doesn't work!

2008-02-11 Thread Reid Linnemann
Written by Michael Ross on 02/11/08 12:42 Am 11.02.2008, 19:26 Uhr, schrieb Reid Linnemann [EMAIL PROTECTED]: It is not finding the FreeBSD versions of libraries. There is no /usr/lib/librt.so.1 in FreeBSD, that is linux's real-time threading library. Try brandelf /usr/compat/linux/usr/lib

Re: linux compat: path problem? /compat/linux/bin/sh doesn't work!

2008-02-11 Thread Michael Ross
Am 11.02.2008, 19:26 Uhr, schrieb Reid Linnemann [EMAIL PROTECTED]: It is not finding the FreeBSD versions of libraries. There is no /usr/lib/librt.so.1 in FreeBSD, that is linux's real-time threading library. Try brandelf /usr/compat/linux/usr/lib/librt.so.1 to see if it's branded. [EMAIL

Re: linux compat: path problem? /compat/linux/bin/sh doesn't work!

2008-02-11 Thread Wojciech Puchar
serafina# dmesg -a | grep -A1 ABI Additional ABI support: linux serafina# /etc/rc.d/abi restart Additional ABI support: linux. magic starts here. sorry. serafina# /compat/linux/bin/sh sh-3.00# ls ls: error while loading shared libraries: /usr/lib/librt.so.1: ELF file OS ABI invalid

Re: linux compat: path problem? /compat/linux/bin/sh doesn't work!

2008-02-11 Thread Wojciech Puchar
if not set it and rerun /etc/rc.d/abi serafina# kldload linux serafina# /etc/rc.d/abi start Additional ABI support:. should be Additional ABI support:linux. you miss linux_enable=YES in rc.conf ___ freebsd-questions@freebsd.org mailing list

Re: linux compat: path problem? /compat/linux/bin/sh doesn't work!

2008-02-11 Thread Wojciech Puchar
sh-3.00$ ls ls: error while loading shared libraries: /usr/lib/librt.so.1: ELF file OS ABI invalid sh-3.00$ Sothat don't seem right. How do I get /compat/linux/bin/sh to work right? New .shrc file? Something I missed? [EMAIL PROTECTED] ~]$ /compat/linux/bin/sh sh

Re: linux compat: path problem? /compat/linux/bin/sh doesn't work!

2008-02-11 Thread Reid Linnemann
Written by Steve Franks on 02/11/08 13:56 So my problem is that things are expecting libs in /usr/compat/linux/lib instead of /usr/compat/linux/usr/lib, and when they don't find it in linux/lib they go straight to the FreeBSD version? So should I be fixing my path, or linking linux/usr/lib

Re: linux compat: path problem? /compat/linux/bin/sh doesn't work!

2008-02-11 Thread Reid Linnemann
Written by Steve Franks on 02/11/08 12:11 I think my problem lies elsewhere: linux abi started, but no difference! I have the linux .so files right in compat/linux/usr/lib, but it always finds the freeBSD versions first! Steve sh-3.00$ kldstat Id Refs AddressSize Name 1 19

Re: linux compat: path problem? /compat/linux/bin/sh doesn't work!

2008-02-11 Thread Steve Franks
I think my problem lies elsewhere: linux abi started, but no difference! I have the linux .so files right in compat/linux/usr/lib, but it always finds the freeBSD versions first! Steve sh-3.00$ kldstat Id Refs AddressSize Name 1 19 0xc040 926ed4 kernel 21 0xc0d27000 5a74

Re: linux compat: path problem? /compat/linux/bin/sh doesn't work!

2008-02-11 Thread Michael Ross
serafina# /etc/rc.d/abi restart Additional ABI support: linux. serafina# /compat/linux/bin/sh sh-3.00# ls ls: error while loading shared libraries: /usr/lib/librt.so.1: ELF file OS ABI invalid Michael ___ freebsd-questions@freebsd.org mailing list http

Re: linux compat: path problem? /compat/linux/bin/sh doesn't work!

2008-02-11 Thread Michael Ross
Am 11.02.2008, 18:20 Uhr, schrieb Wojciech Puchar [EMAIL PROTECTED]: did you have linux_enable=YES in your rc.conf if not set it and rerun /etc/rc.d/abi serafina# kldload linux serafina# /etc/rc.d/abi start Additional ABI support:. serafina# /compat/linux/bin/sh sh-3.00# ls ls: error

linux compat: path problem? /compat/linux/bin/sh doesn't work!

2008-02-11 Thread Steve Franks
I think I have a major problem with my linux compatibility. It started when a third party setup program complained about ELF ABI types on a shared library, so I did a little experiment: /compat/linux/bin/sh sh-3.00$ ls ls: error while loading shared libraries: /usr/lib/librt.so.1: ELF file OS

Re: linux compat: path problem? /compat/linux/bin/sh doesn't work!

2008-02-11 Thread Michael Ross
Am 11.02.2008, 20:56 Uhr, schrieb Steve Franks [EMAIL PROTECTED]: So should I be fixing my path, or linking linux/usr/lib to linux/lib, or what? On Feb 11, 2008 12:06 PM, Reid Linnemann [EMAIL PROTECTED] wrote: work around this by linking /usr/compat/linux/usr/lib/librt.so.1 to the actual

/compat/linux/usr/bin/ld

2007-08-20 Thread Nikola Lecic
Hello, What is the recommended way for obtaining linux ld binary (/compat/linux/usr/bin/ld)? I found in the archives that devel/linux_devel port used to provide it, but it seems that there is no such port now, except emulators/linux*-gentoo*. Thank you, Nikola Lečić

Re: Complete environment on top of /compat/linux

2007-02-10 Thread Pietro Cerutti
On 2/10/07, Matt Kitche Donovan [EMAIL PROTECTED] wrote: Pietro Cerutti wrote: Hi list, I'm starting off a new job where I'll be forced to work in a GNU/Linux environment, and I thought that maybe there exists some way to just chroot in /compat/linux and have a complete GNU/Linux environment

Re: Complete environment on top of /compat/linux

2007-02-10 Thread Tijl Coosemans
in /compat/linux and have a complete GNU/Linux environment at disposal, without the need for a dual booting setup. yes I chroot into /compat/linux all the time just make sure that you kldload linux first to make sure it's loaded first. Yes, thanx. The problem is that just chroot'ing

Complete environment on top of /compat/linux

2007-02-09 Thread Pietro Cerutti
Hi list, I'm starting off a new job where I'll be forced to work in a GNU/Linux environment, and I thought that maybe there exists some way to just chroot in /compat/linux and have a complete GNU/Linux environment at disposal, without the need for a dual booting setup. Any experiences or advices

Re: Complete environment on top of /compat/linux

2007-02-09 Thread Matt \Kitche\ Donovan
Pietro Cerutti wrote: Hi list, I'm starting off a new job where I'll be forced to work in a GNU/Linux environment, and I thought that maybe there exists some way to just chroot in /compat/linux and have a complete GNU/Linux environment at disposal, without the need for a dual booting setup. Any

where does one find glibc for /usr/compat/linux/lib ?

2006-06-19 Thread Jim Stapleton
I looked at a few of the emulator/linux* ports, and it was not in their pkg-plist files, only something in their usr/sbin (glibc_post_upgrad), which, when ran, does not generate a glibc that I can find in the any of BSDs lib directories, or the compat/linux/lib, compat/linux/usr/lib either

Re: where does one find glibc for /usr/compat/linux/lib ?

2006-06-19 Thread Pablo Marín Ramón
I looked at a few of the emulator/linux* ports, and it was not in their pkg-plist files, only something in their usr/sbin (glibc_post_upgrad), which, when ran, does not generate a glibc that I can find in the any of BSDs lib directories, or the compat/linux/lib, compat/linux/usr/lib either

Re: where does one find glibc for /usr/compat/linux/lib ?

2006-06-19 Thread Jim Stapleton
in their usr/sbin (glibc_post_upgrad), which, when ran, does not generate a glibc that I can find in the any of BSDs lib directories, or the compat/linux/lib, compat/linux/usr/lib either. $ grep ^lib/libc /usr/ports/emulators/linux_base-8/pkg-plist lib/libc-2.3.2.so lib/libc.so.6 lib/libcrypt

Re: where does one find glibc for /usr/compat/linux/lib ?

2006-06-19 Thread Erik Trulsson
/linux* ports, and it was not in their pkg-plist files, only something in their usr/sbin (glibc_post_upgrad), which, when ran, does not generate a glibc that I can find in the any of BSDs lib directories, or the compat/linux/lib, compat/linux/usr/lib either. $ grep ^lib/libc /usr/ports

/compat/linux undefined reference GLIBC

2006-02-13 Thread Gareth Reeves
]' /opt/ito33/lib/libitoihg.so: undefined reference to [EMAIL PROTECTED]' My compile and link contains the -L/compat/linux/lib. This contains all of the libraries from adding the linux_base port. I dont know where to even start trying to figure out which files the GLIBC references should

How does FreeBSD handle devices under /compat/linux?

2006-02-01 Thread Joel Hatton
Hi, I've gone ahead and installed linux_base-8 on 6.0 RELEASE. What I'd like to know is how are devices handled? For example, and this is crucial to my application, is it possible for a linux application to talk to /dev/st0, and if so how is this accomplished with no /compat/linux/dev directory

Re: How does FreeBSD handle devices under /compat/linux?

2006-02-01 Thread Dan Nelson
is this accomplished with no /compat/linux/dev directory and with devfs in operation? I'd make a symlink from /compat/linux/dev/st0 to /dev/sa0 . That'll work if you just want to read/write a tape. You can't do any fancy stuff like setting densities or block positioning, since the ioctls are different

Need of '/compat/linux'

2006-01-12 Thread Parv
I am running 6-STABLE from Dec 27 2005; mortal user shell is zsh 4.2.6; root shell is bash [23]; have reinstalled all the ports that i currently want/need. Short story is that without pointing '/compat/linux' to '/usr/linux-base', i could not run acroread7, instead got the following message

Re: no /usr/compat/linux/proc

2005-05-12 Thread Kent Stewart
On Wednesday 11 May 2005 11:43 pm, Muhammad Reza wrote: Dear List.. Why I didnt have /usr/compat/linux/proc on my 5.4 Release with linux_base package installed ? please give me clue.. When you do the install of the base, the port-message at the very end tells you to create it. You enter

Re: no /usr/compat/linux/proc

2005-05-12 Thread Muhammad Reza
Richard Verwayen wrote: Am Donnerstag, den 12.05.2005, 13:43 +0700 schrieb Muhammad Reza: Dear List.. Why I didnt have /usr/compat/linux/proc on my 5.4 Release with linux_base package installed ? please give me clue.. Issueing 'kldload linprocfs' may solve your problem... RIchard

Re: no /usr/compat/linux/proc

2005-05-12 Thread Muhammad Reza
Kent Stewart wrote: On Wednesday 11 May 2005 11:43 pm, Muhammad Reza wrote: Dear List.. Why I didnt have /usr/compat/linux/proc on my 5.4 Release with linux_base package installed ? please give me clue.. When you do the install of the base, the port-message at the very end tells you

Re: no /usr/compat/linux/proc

2005-05-12 Thread Kent Stewart
On Thursday 12 May 2005 01:21 am, Muhammad Reza wrote: Kent Stewart wrote: On Wednesday 11 May 2005 11:43 pm, Muhammad Reza wrote: Dear List.. Why I didnt have /usr/compat/linux/proc on my 5.4 Release with linux_base package installed ? please give me clue.. When you do the install

Re: no /usr/compat/linux/proc

2005-05-12 Thread Muhammad Reza
Kent Stewart wrote: On Thursday 12 May 2005 01:21 am, Muhammad Reza wrote: Kent Stewart wrote: On Wednesday 11 May 2005 11:43 pm, Muhammad Reza wrote: Dear List.. Why I didnt have /usr/compat/linux/proc on my 5.4 Release with linux_base package installed ? please give me clue

Re: no /usr/compat/linux/proc

2005-05-12 Thread Muhammad Reza
Muhammad Reza wrote: Kent Stewart wrote: On Thursday 12 May 2005 01:21 am, Muhammad Reza wrote: Kent Stewart wrote: On Wednesday 11 May 2005 11:43 pm, Muhammad Reza wrote: Dear List.. Why I didnt have /usr/compat/linux/proc on my 5.4 Release with linux_base package installed ? please

no /usr/compat/linux/proc

2005-05-11 Thread Muhammad Reza
Dear List.. Why I didnt have /usr/compat/linux/proc on my 5.4 Release with linux_base package installed ? please give me clue.. regards reza ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

RE: compat linux

2004-03-02 Thread Osmany Guirola Cruz
Thanks Dan .. i include the line in my /compat/linux/etc/ld.so.conf and works whitout problem In the last episode (Mar 01), Osmany Guirola Cruz said: I am runing vmd for linux in my freebsd box when i try to run the vmd it give me theses errors libX**.so.6 not shuch file or directory then i

compat linux

2004-03-01 Thread Osmany Guirola Cruz
I am runing vmd for linux in my freebsd box when i try to run the vmd it give me theses errors libX**.so.6 not shuch file or directory then i installed the linux-Xfree86-libs and the program give me the same error. and the files of these port are in the /compat/linux/usr/X11R6/lib/ but when i

Re: compat linux

2004-03-01 Thread Dan Nelson
of these port are in the /compat/linux/usr/X11R6/lib/ but when i copy the lib*.so.6 from here to /compat/linux/usr/lib the vmd works without problem.. WHY? What should i do to remediate these little problem ? Make sure /compat/linux/etc/ld.so.conf contains the line /usr/X11R6/lib , and then reboot

Re: acroread update: /compat/linux/usr/bin/strip:No such file ordirectory

2003-06-25 Thread Adam
's:Linux):FreeBSD|Linux):g' /usr/local/Acrobat5/bin/acroread /compat/linux/usr/bin/strip:No such file or directory *** Error code 1 (ignored) [...] All gets installed anyway; but any idea how come this message is generated? Is something missing in linux-base 7,1-5 ? I checked: $ file

Help! WordPerfect can't find /compat/linux/lib/ld-linux.so.1 !

2002-10-27 Thread G.E. Rafe
(which worked perfectly under 4.6-R w/linux_base-6.1) now complains when asked to start: ELF interpreter /compat/linux/lib/ld-linux.so.1 not found Abort Of course, linux_base-7.1_1 doesn't reference ld-linux.so.1, so what's up with that ?! And the 4.7-R distribution come with linux_base-6, so going

Re: Help! WordPerfect can't find /compat/linux/lib/ld-linux.so.1 !

2002-10-27 Thread Aaron Siegel
Hello I was able to get older linux binaries to work by install the following rpms from the Red Hat 6.1 distribution: ld.so-1.9.5-13.i386.rpm libc-5.3.12-31.i386.rpm I did this by: # /usr/compat/linux/bin/bash # rpm -ivh ld.so-1.9.5-13.i386.rpm # rpm -ivh libc-5.3.12-31.i386.rpm Then you

Re: Help! WordPerfect can't find /compat/linux/lib/ld-linux.so.1 !

2002-10-27 Thread Aaron Siegel
I was able to get older linux binaries to work by install the following rpms from the Red Hat 6.1 distribution: ld.so-1.9.5-13.i386.rpm libc-5.3.12-31.i386.rpm I did this by: # /usr/compat/linux/bin/bash # rpm -ivh ld.so-1.9.5-13.i386.rpm # rpm -ivh libc-5.3.12-31.i386.rpm Then you

Re: Help! WordPerfect can't find /compat/linux/lib/ld-linux.so.1 !

2002-10-27 Thread G.E. Rafe
!I was able to get older linux binaries to work by install the following !rpms from the Red Hat 6.1 distribution: ! !ld.so-1.9.5-13.i386.rpm !libc-5.3.12-31.i386.rpm ! !I did this by: !# /usr/compat/linux/bin/bash !# rpm -ivh ld.so-1.9.5-13.i386.rpm !# rpm -ivh libc-5.3.12-31.i386.rpm ! !Then you