[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libedit.so.2: cannot open shared object file



On Thu, Sep 01, 2011 at 10:15:23AM +0200, Frans van Berckel wrote:
> Hi guys,
> 
> I am hitting a problem with the sparc64-port while connecting postgresql.
> 
> root@deblnxsrv254:~/# su - postgres
> postgres@deblnxsrv254:~$ psql template1 
> loading shared libraries: libedit.so.2: cannot open shared object file:
> No such file or directory
> 
> So I found the installed libedit2_2.11-20080614-3_sparc64 package is
> only symbolic linking, but does not holds the libedit.so.2.11 it selfs.
> 
> Is this true?

On my Debian mirror disk, libedit2_2.11-20080614-3_sparc.deb has
libedit.so.2.11 in /usr/lib/sparc-linux-gnu/, see below.

dpkg -c /srv/debian/pool/main/libe/libedit/libedit2_2.11-20080614-3_sparc.deb
drwxr-xr-x root/root         0 2011-08-28 14:41 ./
drwxr-xr-x root/root         0 2011-08-28 14:41 ./usr/
drwxr-xr-x root/root         0 2011-08-28 14:41 ./usr/share/
drwxr-xr-x root/root         0 2011-08-28 14:41 ./usr/share/doc/
drwxr-xr-x root/root         0 2011-08-28 14:41 ./usr/share/doc/libedit2/
-rw-r--r-- root/root      1995 2011-08-27 17:34 ./usr/share/doc/libedit2/copyright
-rw-r--r-- root/root      3550 2011-08-28 11:01 ./usr/share/doc/libedit2/changelog.Debian.gz
drwxr-xr-x root/root         0 2011-08-28 14:41 ./usr/lib/
drwxr-xr-x root/root         0 2011-08-28 14:41 ./usr/lib/sparc-linux-gnu/
-rw-r--r-- root/root    122188 2011-08-28 14:41 ./usr/lib/sparc-linux-gnu/libedit.so.2.11
lrwxrwxrwx root/root         0 2011-08-28 14:41 ./usr/lib/sparc-linux-gnu/libedit.so.2 -> libedit.so.2.11

> And how can I solve the problem?
> 
> root@deblnxsrv254:~/# ls /usr/lib/sparc64-linux-gnu/libedit.so.2* -l
> lrwxrwxrwx 1 root root 15 Aug 29 10:02 
> /usr/lib/sparc64-linux-gnu/libedit.so.2 -> libedit.so.2.11
> 
> Thanks,
> 
> 
> Frans van Berckel

Attachment: signature.asc
Description: Digital signature


Reply to: