-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 03 November 2003 03:20 am, LinuxLingam wrote:
> an application has a dependency on libsigc++.
>
> googled it, downloaded the tar.gz. extracted the folder, changed to
> root, navigated to the directory using cd, and issued the usual combo of
> ./configure
> make
> make install
>
> all okay.
>
> the original application still demanded libsigc++.
>
> curious, i did an rpm -qa libsigc++ and the shell came back
> empty-handed.
[snip]...
>
> did an ls into /lib and found it does not exist there.
>
> what's going on?

Source packages are installed in the /usr/local directory.
So your libs are getting installed in /usr/local/lib and not /lib.
Check the Makefile of the source package. 
You will find a line "prefix = /usr/local".

This is basically done by all source packages so as not to mess around with 
the default system settings. /usr/local/ holds all such sources you compile 
and install. The system doesn't mix up between the two. 
Even after you did a make install, the package is still asking for the lib. 
That means your /usr/local/lib path is not searched for library files. You 
are required to  add the path to search for library files. 
Read the INSTALL file that comes with the libsigc++-1.0.4 tarball. Also 
"./configure --help" will show you how to change the default install 
directories. 

Either you edit the Makefile ( not recommended as files might be erased etc) 
to install them in the system directories or pass parameters to the configure 
script. 

Also, when you install a source package, the rpmdb doesn't get updated. 
Installing a package with rpm -ivh *** updates the rpmdb so you can use rpm 
- -qa to query the BerkeleyDB database. So the database doesn't know about the 
new install you had done. Querying it is meaningless. Hence you didn't get 
any result. But its installed OK. You only have to give the proper links to 
the library files directory. 

Regards,
Bhaskar

- -- 

- ---------------------------
Bhaskar Dutta <[EMAIL PROTECTED]>
     Key fingerprint = AA56 1EB5 D7E8 DD9C 298E  8F4D 375F D416 01D5 671C
- ---------------------------

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/pY7xN1/UFgHVZxwRAhkqAKCegmBXp9Q9KmvlWtFJCfFF8nLEMACfdXba
FebXj0fK8Bd77GE3YCK/gIM=
=zURj
-----END PGP SIGNATURE-----


_______________________________________________
ilugd mailing list
[EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to