filezilla: error loading shared libraries: libidn.so.11

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
crantok

filezilla: error loading shared libraries: libidn.so.11

Post by crantok »

I just installed filezilla by:

Code: Select all

sudo apt-get install filezilla
I tried to run filezilla and got this error:

Code: Select all

filezilla: error while loading shared libraries: libidn.so.11: cannot open shared object file: No such file or directory
Thinking that a dependency had not been declared, I searched for a relevant package...

Code: Select all

$ apt-cache search libidn
libidn11 - GNU Libidn library, implementation of IETF IDN specifications
...
...and tried to install that but already had it:

Code: Select all

$ sudo apt-get install libidn11
...
libidn11 is already the newest version.
I checked what files the required package had installed...

Code: Select all

$ dpkg -S libidn11
libidn11: /usr/share/doc/libidn11/README
libidn11: /usr/share/doc/libidn11/copyright
libidn11: /usr/share/doc/libidn11/changelog.Debian.gz
libidn11: /usr/share/doc/libidn11/TODO
libidn11: /usr/share/doc/libidn11/AUTHORS.gz
libidn11: /usr/share/doc/libidn11/NEWS.gz
libidn11: /usr/share/doc/libidn11
libidn11: /usr/share/doc/libidn11/THANKS
...and saw that no object file was mentioned.

Could I have an incompletely installed package? I've never encountered this kind of situation before.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
crantok

Re: filezilla: error loading shared libraries: libidn.so.11

Post by crantok »

Sorry, I should have mentioned that I'm running the MATE edition of Maya (Linux Mint 13).
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: filezilla: error loading shared libraries: libidn.so.11

Post by Monsta »

Yes, something's wrong with that package in your system. The correct filelist is here.
Try reinstalling it:

Code: Select all

sudo apt-get install --reinstall libidn11
crantok

Re: filezilla: error loading shared libraries: libidn.so.11

Post by crantok »

Thanks for that tip Monsta. Now I know I can reinstall packages. Yay!

Unfortunately, filezilla still won't run (same error) and the object file is still missing from the file list for the libidn11 package.
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: filezilla: error loading shared libraries: libidn.so.11

Post by Monsta »

My mistake. I didn't realize that the correct syntax for viewing the contents of the package is dpkg -L, not dpkg -S. Check it. Maybe there was no need to reinstall...
crantok

Re: filezilla: error loading shared libraries: libidn.so.11

Post by crantok »

Ah, I didn't realise that either.

As you may have suspected, that object file is already there, it just isn't being found by filezilla.
crantok

Re: filezilla: error loading shared libraries: libidn.so.11

Post by crantok »

D'oh!

My laptop used to have an old Ubuntu on it. Back then I installed filezilla from the web for some reason. The symbolic link

Code: Select all

~/bin/filezilla
was being found before the package-manager installed filezilla, which I realised just now when I ran

Code: Select all

which filezilla
I'm going to slink away and be embarrassed now.
Locked

Return to “Software & Applications”