missing libraries

HEllo. I’m new to open Suse Leap42.1 try to compile my wxwidgets based routine, that was successfully compiled under fedora, now compilation is fine but at static link step I have missing libraries:
ld||cannot find -lgthread-2.0|ld||
cannot find -lX11|ld||cannot find -lgtk-x11-2.0|
ld||cannot find -lfontconfig
|ld||cannot find -lfreetype
|ld||cannot find -lpng
|ld||cannot find -lgio-2.0|
ld||cannot find -lgobject-2.0
|ld||cannot find -lexpat
|ld||cannot find -lz
|ld||cannot find -lgthread-2.0|
Does any one knows what packages I have to install?Many thanks in advance.

Wildly guessing, have you looked for the -devel packages for all of these?


Information for package fontconfig-devel:
-----------------------------------------
Repository: openSUSE-13.1-Update
Name: fontconfig-devel
Version: 2.11.0-4.1
Arch: x86_64
Vendor: openSUSE
Installed: Yes
Status: up-to-date
Installed Size: 853.6 KiB
Summary: Include Files and Libraries mandatory for Development
Description:
This package countains all include files, libraries, configuration
files needed for compiling applications which use the fontconfig
library.

In addition, it contains extensive documentation and manual pages for
developers using the library.

If this works, the commands to install these may be something like:


sudo zypper in fontconfig-devel
sudo zypper in freetype-devel
#etc.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

Always provide a link to the reference you’re using describing what you are trying to do (steps compiling wxwidgets).

Maybe ab’s suggestion will work.
In any case many of the “missing” library dependencies without headers or source are likely already installed in your system.

TSU

On 2016-07-01, alexbour <alexbour@no-mx.forums.microfocus.com> wrote:
>
> HEllo. I’m new to open Suse Leap42.1 try to compile my wxwidgets based
> routine, that was successfully compiled under fedora, now compilation is
> fine but at static link step I have missing libraries:
> ld||cannot find -lgthread-2.0|ld||
> cannot find -lX11|ld||cannot find -lgtk-x11-2.0|

As stated by Tsu, it’s difficult to know the details of your dependencies without more information. As wild shotgun
guess, it might be worth seeing if this package is of any use:


sh-4.2$ su -c "zypper info wxWidgets-devel"