Older version of library needed but i have newer one

Hi,

I am trying to install the rpm of a package called octave, version 3.2. It needs the libs of a software hdf5-1.6.7. Now i have separately compiled a later version hdf5-1.6.9 and installed it in /usr/local/hdf_5-1.6.9. Is there a method for me to attempt to try to make the octave rpm use the libs of my compiled hdf5 and thereby get it installed? I would like to refrain from installing hdf5-1.6.7.

Thanks.

Hi
You need to (as root user) add a file in the /etc/ld.so.conf.d directory
called say hdf.conf and in that file put the full path to your library
eg
/usr/local/hdf_5-1.6.9/lib

Then run the command ldconfig


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 3 days 11:36, 2 users, load average: 0.14, 0.08, 0.08
GPU GeForce 8600 GTS Silent - Driver Version: 190.18

Hi Malcolm,

Thanks, i did what you said & octave got installed. Actually i had made a separate usr.conf file in /etc/ld.so.conf.d for adding libs of some compiled packages. I also ran ldconfig a few times before. But this had completely slipped from my mind. Thanks again.

Btw, is there a thanks button in this forum?

Hi
Glad you have it installed :slight_smile: Hmm there is a rep button :wink:


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 3 days 14:35, 2 users, load average: 0.23, 0.08, 0.09
GPU GeForce 8600 GTS Silent - Driver Version: 190.18