On Fri, 6 Apr 2001, Shridhar Daithankar wrote:
> Are you sure you can dlopen without libc? I am doubtful....
>
I couldn't get you. Let me explain. I call dlopen like
dlopen ("/usr/lib/libc.so.25.2", RTLD_LAZY);
Now for this line to be portable, I need the location of libc
which is /usr/lib/libc.so.25.2 in this case. But I am sure it won't be so
on all the BSD machines.
What I want to know if there is a standard path like
/usr/lib/libc.so which is a link to the above file or not. If not is there
any way to find out the library name. (Other than ls /lib/libc.so.* which
may yield more than one name (I really don't know))
Thanks..
--
#!!! If anything can go wrong, _FIX_ it. (To hell with MURPHY)
Ajay kumar Dwivedi
[EMAIL PROTECTED]
----------------------------------------------
Find out more about this and other Linux India
mailing lists at http://lists.linux-india.org/