Thread: ldconfig not working anymore?

  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    48

    ldconfig not working anymore?

    hey, there, I am under UBUNTU. I usually put a rarely used shared library into a local directory, and put the local directory into the file /etc/ld.conf.so.d/rarely.conf, and then run ldconfig, and the shared library works. However today, it stopped working, and even worse, other local shared libraries, which used to work, also stop working. The complaint is identical:
    ld: cannot find -lmylib

    I have no clue how to figure out where is the problem, except suspecting that ldconfig. please share with me you idea. Thanks.

  2. #2
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Do you see anything suspicious when you do:

    Code:
    $ LD_DEBUG=all foo
    Where foo is a program which doesn't dynamically link properly anymore?
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Trying to eject D drive using code, but not working... :(
    By snowfrog in forum C++ Programming
    Replies: 3
    Last Post: 05-07-2005, 07:47 PM
  2. Animation class not working
    By VirtualAce in forum Game Programming
    Replies: 5
    Last Post: 03-02-2005, 06:48 AM
  3. x on upper right corner not working
    By caduardo21 in forum Windows Programming
    Replies: 1
    Last Post: 02-20-2005, 08:35 PM
  4. Mouse scroll stopped working
    By Waldo2k2 in forum Tech Board
    Replies: 2
    Last Post: 10-12-2004, 11:25 AM
  5. cygwin -> unix , my code not working properly ;(
    By CyC|OpS in forum C Programming
    Replies: 4
    Last Post: 05-18-2002, 04:08 AM

Tags for this Thread