LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   When Installing DVDstyler, getting config error "missing wxSVG library >=1.2" (https://www.linuxquestions.org/questions/linux-software-2/when-installing-dvdstyler-getting-config-error-missing-wxsvg-library-%3D1-2-a-4175534349/)

23turbo 02-17-2015 06:47 PM

When Installing DVDstyler, getting config error "missing wxSVG library >=1.2"
 
Hi
I am trying to install dvdstyler on GNU/Parabola. I installed wxsvg-1.5.3 with no errors. When I execute ./configure in the dvdstyler directory, I get the following error:
..
checking for wxSVG... no
configure: error: *** missing wxSVG library >= 1.2 ***

Thanks

John VV 02-20-2015 02:02 AM

HOW did you install wxSVG ?

i hope you used your operating systems built in packager manager

Parabola is based on Arch so did you use pakman
have you REALLY studied the Arch documentation
https://wiki.archlinux.org/

and the parabola wiki
https://wiki.parabola.nu/Table_of_Contents

23turbo 02-20-2015 08:57 AM

I installed it using make and install.
It is not available using pacman. I had to download the source code as there was not a pre-compiled package available for Parabola/Arch.

knudfl 02-20-2015 11:06 AM

Quote:

I installed it (wxsvg) using make and install
I guess you mean './configure && make', # 'make install' ?

The DVDStyler 'configure' will search for /usr/lib/pkgconfig/libwxsvg.pc :
"libwxsvg.pc" is a "package config file" → →
.... a small text file with version information.

Making DVDstyler find the libwxsvg.pc in /usr/local/lib/pkgconfig/ :
$ cd DVDStyler*/
$ export PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/
$ ./configure


Or you can configure wxsvg-1.5.3 this way :
$ ./configure --prefix=/usr/

-

John VV 02-21-2015 12:44 AM

source build
a very common problem is this
a lot of source defaults to installing in "/usr/local "

BUT

a lot of operating systems do not use that location they use "/usr"

this leads to problems for autotools
package configure looks for the *.pc files in /usr/lib64/pkgconfig
and the headers in /usr/include
now if those files are in a different location .................


can you run these commands to VERIFY the set locations and default file paths

AS a NORMAL NON root user
Code:


echo $PATH
---
echo $PKG_CONFIG_PATH
---
echo $LD_LIBRARY_PATH

is /usr/local/bin in the first one ?
if NOT you need to reinstall
or rebuild doing the above


i use opensuse and rhel and fedora
/usr is the default location


so i have gotten into the habit a long time ago of STATING !!! the install location when i build software using the "--prefix=/usr" option

Code:

./configure --prefix-/usr
make
su
make install

or if cmake or qmake add the location for those

knudfl
export option is also great
both ( one or the other) work

23turbo 02-21-2015 09:16 AM

Quote:

Originally Posted by knudfl (Post 5320632)

Making DVDstyler find the libwxsvg.pc in /usr/local/lib/pkgconfig/ :
$ cd DVDStyler*/
$ export PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/
$ ./configure



-

Thanks, I did this and it fixed the error when I ran ./configure on DVDstyler. Ran 'make' and 'make install' with no errors.

However, dvdstyler wouldnt launch.
Code:

$ dvdstyler
dvdstyler: error while loading shared libraries: libwxsvg.so.3: cannot open shared object file: No such file or directory


So, I also took John W's advice on reinstalling wxSVG
Code:

./configure --prefix-/usr
make
su
make install

Ran dvdstyler and it works!

I've been away from Linux for a while, it's amazing how much you can forget.
Thanks to everyone for your help!

knudfl 02-21-2015 10:11 AM

← ref. #6.
Quote:

libwxsvg.so.3: ... : No such file or directory
Yes. Some ( 1..2 each 100 ) applications are hard coded to look in /usr/lib*/ only.


Quote:

reinstalling wxSVG
.
--prefix-/usr
Good work.


-


All times are GMT -5. The time now is 04:05 PM.