Date: Sat, 24 Jun 2006 16:46:30 -0500 From: "Jeremy Messenger" <mezz7@cox.net> To: "Boris Samorodov" <bsam@ipt.ru> Cc: Andriy Gapon <avg@icyb.net.ua>, freebsd-ports@freebsd.org Subject: Re: linux-opera start script Message-ID: <op.tbn6rsw29aq2h7@mezz.mezzweb.com> In-Reply-To: <51090743@srv.sem.ipt.ru> References: <449A67AD.8000204@icyb.net.ua> <51090743@srv.sem.ipt.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Hey Andriy, please add my email in CC in the next time. I am maintaining= = this port and I near have miss this thread. On Thu, 22 Jun 2006 08:24:24 -0500, Boris Samorodov <bsam@ipt.ru> wrote:= > On Thu, 22 Jun 2006 12:49:33 +0300 Andriy Gapon wrote: > >> I am getting the following message, probably completely harmless, wh= en >> I start linux-opera: > >> $ linux-opera >> sh: error while loading shared libraries: >> /usr/local/lib/compat/libtermcap.so.2: ELF file ABI version invalid > >> I see the following lines in linux-opera script: >> # Make sure the compat libraries are found >> test -d /usr/local/lib/compat/ && >> LD_LIBRARY_PATH=3D"${LD_LIBRARY_PATH}:/usr/local/lib/compat/" > >> I am not sure why linux-opera would need /usr/local/lib/compat/, but >> this is how LD_LIBRARY_PATH gets spammed. > > Seems I understand what is going on. > > It is a side effect of installing linux programms with FreeBSD > environment. Install.sh script of linux-opera port has function > guess_os() with: > ----- > os=3D`uname -s` || error 'uname' > case $os in > FreeBSD|NetBSD) os=3DAnyBSD;; > SunOS*) os=3DSunOS;; > esac > ----- > > Sure it's the FreeBSD. And later at this script has: > ----- > case "${os}" in > AnyBSD|OpenBSD) > wrapper_contain=3D"${wrapper_contain} > > # Make sure the compat libraries are found > test -d /usr/local/lib/compat/ && = > LD_LIBRARY_PATH=3D\"\${LD_LIBRARY_PATH}:/usr/loc > al/lib/compat/\" > " > ;; > ----- > > All is OK when Opera is installed as a native package/port. But not > while installing it as a linux port. Upstream developers shouldn't be > bothered by determining the TARGET_OS. ;-) Thanks for check and report, I will create and commit a fix in linux-ope= ra. Cheers, Mezz > WBR -- = mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.tbn6rsw29aq2h7>