MkLinux, almost done


 
Thread Tools Search this Thread
Operating Systems Linux MkLinux, almost done
# 8  
Old 09-08-2003
/sbin/ldconfig -p | more

Try this:

/sbin/ldconfig -p | more
# 9  
Old 09-11-2003
Its not in there, I have to libcrypt libraries, but no libcrypto. Also I don't really understand what I am supposed to add to the ld.so.conf file. That path to the .a file? That doesn't seem right and doesn't seem to match the stuff thats already in my ld.so.conf file. Please advise
# 10  
Old 09-11-2003
You can move your new libs to one of the directories specified in the ld config file.

Then simply run ldconfig to update the cache.
# 11  
Old 09-11-2003
OK I moved my libcrypto.a file to the /isr/lib folder, then I rebooted, but when it came back up it will wouldn't compile OpenSHH, it got the same error, and when I use ldconfig to list the libraries, its still not listed When I run a simple "/sbin/ldconfig" i get the following error...
Can't unlink /etc/ld.so.cache~ (Permission denied)
Should I sudo it?
# 12  
Old 09-11-2003
Quote:
Originally posted by l008com
OK I moved my libcrypto.a file to the /isr/lib folder, then I rebooted, but when it came back up it will wouldn't compile OpenSHH, it got the same error, and when I use ldconfig to list the libraries, its still not listed When I run a simple "/sbin/ldconfig" i get the following error...
Can't unlink /etc/ld.so.cache~ (Permission denied)
Should I sudo it?
OK, I tried it with sudo, and I no longer get that error, but is seems to have no effect, the library, apparently, still isn't loading???
# 13  
Old 09-11-2003
Yes, because the lib???.a files are static libs that must be statically linked (normally when you compile).

lib????.so files are shared libs that are loaded at run time.

I forgot to mention this earlier, assuming you had shared libs and not static libs.

If you only have .a libs you can set your environmental variable to point to the directory that contains your static libs when you compile, OR move your static lib to a directory already in your LDPATH environmental variable.

Either way, you have to find a way to instruct your linker where to find the static library.

Are you compiling with GCC?

Neo
# 14  
Old 09-11-2003
Whoa ok slow down you jsut went way over my head there I'm all confused. I did move my .a file to /usr/lib and i don't know what compiler im using, whatever comes wih MkLinux i guess right?
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Linux

MkLinux on a Performa 6320?

Has anyone ever done this before? It says its supported, but whenever I try to boot off the installation CD, it freezes. To be more specific, it starts to boot Mac OS, then it gets to the "choose your OS" window where you can choose to fully boot Mac or dissolve Mac OS and enter into Linux. When... (0 Replies)
Discussion started by: l008com
0 Replies
Login or Register to Ask a Question