Article View: aus.computers.linux
Article #56799Re: Library trouble...
From: James C. McPherson
Date: Thu, 19 Dec 1996 00:00
Date: Thu, 19 Dec 1996 00:00
66 lines
2533 bytes
2533 bytes
On 17 Dec 96 14:02:06 GMT, jenr95@octarine.adfa.oz.au (JENKINS ROBERT)
wrote:
>Hi,
> I am having trouble getting programs to find
>libf2c, and I can't determine the source of the problem.
>An example:
>
>% ldd MOPAC7
> libf2c.so.0 => not found
^^^^^^^^^^^^^
your program wants version 0.x of libf2c.
> libm.so.5 => /lib/libm.so.5.0.5
> libc.so.5 => /lib/libc.so.5.2.18
>
>% ldconfig -v | m
>[snip]
>/usr/lib:
>[snip]
> libf2c_i2.so.2 => libf2c_i2.so.2.1
> libgz.so.1 => libgz.so.1.0.93
> libf2c.so.2 => libf2c.so.2.1
>
>% ls -als /usr/lib/libf2c*
>-rw-r--r-- 1 root root 252488 Apr 30 1996 /usr/lib/libf2c.a
>lrwxrwxrwx 1 root root 13 Dec 6 19:26 /usr/lib/libf2c.so
>-> libf2c.so.2.1
>lrwxrwxrwx 1 root root 13 Dec 6 19:26 /usr/lib/libf2c.so.2
>-> libf2c.so.2.1
>-rw-r--r-- 1 root root 119175 Apr 30 1996 /usr/lib/libf2c.so.2.1
>-rw-r--r-- 1 root root 251668 Apr 30 1996 /usr/lib/libf2c_i2.a
>lrwxrwxrwx 1 root root 16 Dec 6 19:26 /usr/lib/libf2c_i2.so
>-> libf2c_i2.so.2.1
>lrwxrwxrwx 1 root root 16 Dec 6 19:26 /usr/lib/libf2c_i2.so.2
>-> libf2c_i2.so.2.1
>-rw-r--r-- 1 root root 118299 Apr 30 1996 /usr/lib/libf2c_i2.so.2.1
>
>% ./MOPAC7
>./MOPAC7: can't load library 'libf2c.so.0'
>
>I'm at a loss as to why libf2c cannt be found. It's happened in a
>few other cases as well, but this seems to summarize my problems
>so far. Is there anything I have missed, or is it just that the
>version of libf2c I'm running is too new? And if so, where can
>I find an older version?
if you can recompile the program then you can get around the problem
since ld will automagically look for libf2c.so.2.1 and friends. If you
can't, then either
(as root)
ln -sf /usr/lib/libf2c.so.2.1 /usr/lib/libf2c.0
or grab the old version from sunsite.anu.edu.au in the libs/old
directory.
cheers,
jcm
Historian/InterLibraryLoans/ITLO/Branch Sysmangler
mljmcphe@dingo.cc.uq.edu.au
j.mcpherson@central1.library.uq.edu.au
Technical Details
Message-ID:
<32b8bb0c.3671901@news.uq.edu.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<jenr95.850831326@octarine>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,38182ea63b92ef80 X-Google-Attributes: gid102983,public From: j.mcpherson@central1.library.uq.oz.au (James C. McPherson) Subject: Re: Library trouble... Date: 1996/12/19 Message-ID: <32b8bb0c.3671901@news.uq.edu.au> X-Deja-AN: 204839858 references: <jenr95.850831326@octarine> newsgroups: aus.computers.linux