Ask Your Question

How to solve LIBFILEZILLA dependency when compiling filezilla on Fedora 24?

asked 2016-08-18 10:39:39 -0500

powergame gravatar image

updated 2016-08-18 13:21:08 -0500

Once I failed getting to work the filezilla application that I downloaded from Fedora repos via the command sudo dnf install filezilla, I downloaded filezilla source code to build the application myself. Running ./configure in the source directory, I receive this error:

checking for LIBFILEZILLA... no
configure: error: libfilezilla not found. You can download it from

As per the error message, I downloaded and built libfilezilla, and even can verify its installation via whereis libfilezilla, which gives:

libfilezilla: /usr/local/lib/ /usr/local/lib/libfilezilla.a /usr/local/lib/

To solve this, I tried exporting environment variable LIBFILEZILLA and even setting it inside the file ~/.bashrc, but it did not work and still the error persists. How can I tell filezilla's configure where LIBFILEZILLA is or otherwise solve the problem?

P.S. Sorry for not being clear in my question. To put it shortly, I am trying to install filezilla by building it from source code. But, when I run ./configure in its source directory, configure does several stages until it stops at the error that says it cannot find LIBFILEZILLA. To solve that dependency, I installed libfilezilla from its corresponding source code, but I still cannot configure filezila using ./configure, receiving the same error above.

edit retag flag offensive close merge delete


If you want to build it, get the sources from here: . Here are instructions how to build it. And yes, libfilezilla is a requirement for FileZilla - you will have to install/build it first. Make sure you have all dependencies listed in above link installed.

florian gravatar imageflorian ( 2016-08-18 11:29:52 -0500 )edit

I have got source code for libfilezilla, built it, and it installed without error but, still the build requires it with the above error.

powergame gravatar imagepowergame ( 2016-08-18 13:24:13 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2016-08-19 08:13:01 -0500

powergame gravatar image

Running pkg-config --libs libfilezilla gives the following output:

Package libfilezilla was not found in the pkg-config search path.
Perhaps you should add the directory containing `libfilezilla.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libfilezilla' found

So we search for pkgconfig under which should lie libfilezila.pc,

whereis pkgconfig

which gives:

pkgconfig: /usr/lib64/pkgconfig /usr/local/lib/pkgconfig /usr/share/pkgconfig

libfilezilla.pc can be found in


So, this is the path requested earlier above by pkg-config, so I add it to PKG_CONFIG_PATH

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

and then, run ./configure again, voila! The LIBFILEZILLA error is gone!

edit flag offensive delete link more

answered 2016-08-18 10:51:16 -0500

florian gravatar image

updated 2016-08-18 10:53:20 -0500

Not clear what you are trying to do.

Are you aware that FileZilla and libfilezilla are by far not the same? FileZilla is a graphical FTP Client, while libfilezilla is a general-purpose library.

If you want the FileZilla FTP Client and ran sudo dnf install filezilla, and if dnf didn't return any errors, you are good to go.

Just type file, or ftp in Gnome's search field and Filezilla should pop up. Or search it under All Applications.

edit flag offensive delete link more


Thanks for your answer. I actually did install filezilla first using sudo dnf install filezilla, but it crashes when starting. So, I had to install from source code.

powergame gravatar imagepowergame ( 2016-08-18 11:30:37 -0500 )edit

If it crashes on start, please post the output here (start it from terminal), and/or report a bug ( or ).

florian gravatar imageflorian ( 2016-08-18 11:37:26 -0500 )edit

@florian filezilla installed from Fedora repos crashes on start with this error message:
Fatal Error: Mismatch between the program and library build versions detected. The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8), and wxCore used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8). Aborted (core dumped) Also, Problem Reporting app says that it is not reportable with this message:
Your problem seems to be caused by locally built software

powergame gravatar imagepowergame ( 2016-08-19 13:50:13 -0500 )edit

That'e because you build a newer libfilezilla on your machine than FileZilla from the repos is using. I am sure you didn't get this error when you just ran dnf install filezilla without building and installing libfilezilla.

florian gravatar imageflorian ( 2016-08-19 13:58:53 -0500 )edit

@florian, I am not sure if I tried installing via repos before trying to build from source. But, note that the build did not work out. It failed. So, I had to resort to standard installation which gives this error. Now, what do you suggest to solve the problem?

powergame gravatar imagepowergame ( 2016-08-19 16:22:47 -0500 )edit

Question Tools

1 follower


Asked: 2016-08-18 10:39:39 -0500

Seen: 1,326 times

Last updated: Aug 19 '16