shared libs trouble with linux binaries

Ion-Mihai Tetcu itetcu at people.tecnik93.com
Tue Aug 23 08:58:22 GMT 2005


On Tue, 23 Aug 2005 10:40:08 +0200
Alexander Leidinger <Alexander at Leidinger.net> wrote:

> Ion-Mihai Tetcu <itetcu at people.tecnik93.com> wrote:
> 
> > Adding /usr/compat/linux/usr/X11R6/lib/ to the LD_CONFIG_PATH
> > in /usr/X11R6/bin/acroread seems to fix the problem (I have only ssh
> > access to the machine now), hence now it dies with Error: Can't
> > open display:
> >
> > I guess I could create a /etc/ld-elf.so.conf to fix the problem,
> > but on other desktops I don't have it and I can't find the
> > difference with this one.
> >
> > Could anyone point me in the right direction ?
> 
> Do you use a non-default linux-base port? 

No.

> This sounds as if /compat/linux/etc/ld-elf.so.conf doesn't contain
> the X11 lib dir.

 # cat /compat/linux/etc/ld-elf.so.conf
cat: /compat/linux/etc/ld-elf.so.conf: No such file or directory
 
> If you use the default linux_base port, I'm interested in a list of
> all installed linux ports in case the ld-elf.so.conf file doesn't
> contains the dir.

 # pkg_info -I linux\*
linux-XFree86-libs-4.3.99.902_3 XFree86 libraries, Linux binary
linux-aspell-0.50.4.1_1 Spelling checker with better logic than ispell (linux versi
linux-atk-1.2.0_3   Accessibility Toolkit, Linux/i386 binary
linux-expat-1.95.5_3 Linux/i386 binary port of Expat XML-parsing library
linux-flashplugin-7.0r25_2 The official Macromedia Flash Player for Linux Mozilla and
linux-fontconfig-2.1_3 Linux/i386 binary of Fontconfig
linux-glib2-2.2.1_3 Version 2.X Linux/i386 binary port of GLib
linux-jpeg-6b.15_4  RPM of the JPEG lib
linux-openmotif-2.2.4_2 Motif toolkit Linux libraries
linux-opera-8.01.20050615_2 A blazingly fast, full-featured, standards-compliant browse
linux-png-1.2.7_6   RPM of the PNG lib
linux-sun-jdk-1.4.2.08_2 Sun Java Development Kit 1.4 for Linux
linux-tiff-3.6.1_2  TIFF library, Linux/i386 binary
linux_base-8-8.0_6  Base set of packages needed in Linux mode (only for i386)

 # pkg_info -R linux_base-8-8.0_6
Information for linux_base-8-8.0_6:

Required by:
apache-ant-1.6.5
linux-XFree86-libs-4.3.99.902_3
linux-aspell-0.50.4.1_1
linux-atk-1.2.0_3
linux-expat-1.95.5_3
linux-fontconfig-2.1_3
linux-glib2-2.2.1_3
linux-jpeg-6b.15_4
linux-openmotif-2.2.4_2
linux-opera-8.01.20050615_2
linux-png-1.2.7_6
linux-sun-jdk-1.4.2.08_2
linux-tiff-3.6.1_2
acroread-5.10_2,1
linux-flashplugin-7.0r25_2

 # grep linux /etc/rc.conf
linux_enable="YES"

linprocfs on /usr/compat/linux/proc (linprocfs, local)


Thanks Alexander,

-- 
IOnut
Unregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"




More information about the freebsd-ports mailing list