ldconfig not working anymore?

This is a discussion on ldconfig not working anymore? within the C++ Programming forums, part of the General Programming Boards category; hey, there, I am under UBUNTU. I usually put a rarely used shared library into a local directory, and put ...

  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
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,274
    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, 08: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, 12:25 PM
  5. cygwin -> unix , my code not working properly ;(
    By CyC|OpS in forum C Programming
    Replies: 4
    Last Post: 05-18-2002, 05:08 AM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21