[Westwales] linking problems

John Beisley westwales at mailman.lug.org.uk
Wed Feb 26 17:07:01 2003


Here's an interesting problem, I'll probably try compiling it without Qt/KDE support but still it's odd... I compiled up nethack-noegnud to get this error when I run it:

nethack-noegnud
/usr/local/games/lib/nethack-noegnuddir/nethack-noegnud: error while loading shared libraries: libartsc.so.0: cannot open shared object file: No such file or directory

This in itself I might understand at a first glance as libartsc.so.0 not being on the library search path, but I continue delving and:

ldd nethack-noegnud /usr/kde3/bin/kmidi
nethack-noegnud:
<snip>
        libartsc.so.0 => not found
<snip>
/usr/kde3/bin/kmidi:
<snip>
        libartsc.so.0 => /usr/local/kde3/lib/libartsc.so.0 (0x40017000)
<snip>

Baffled? I am... /usr/kde3/bin/kmidi runs without a hitch

My LD_LIBRARY_PATH env variable in this context is set to:
/usr/local/qt-3.1.1/lib:/usr/local/kde3/lib

/etc/ld.so.conf contains:

/usr/lib
/usr/X11R6/lib
/usr/ssl/lib
/usr/gnome-1.2/lib
/usr/gnome-2.0/lib

(none of the directories in /etc/ld.so.conf contain libartsc.so.0, btw)
Any ideas? I've run ldconfig to make sure /etc/ld.so.cache is up to date and still no joy.

-- 
------------------------------------------------------------------
   "I propose we leave math to the machines and go play outside."
              --- Calvin
   "Words must be weighed, not counted."

 John Beisley
 Undergrad at UWA studying MEng (Hons) Software Engineering
 
 john.beisley@lineone.net
 jsb8@aber.ac.uk                      http://users.aber.ac.uk/jsb8
------------------------------------------------------------------
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/GM d->-- s+:- a-- C++>$ UL+++>$ P+ L++>+++ E- W++ N o+ K- w--()
O? M? V-- PS+ PE-- Y+ PGP+ t+@ 5 X R tv- b+ DI++ D++
G++ e h-->- r% y+
------END GEEK CODE BLOCK------