LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-17-2015, 06:47 PM   #1
23turbo
LQ Newbie
 
Registered: Feb 2015
Distribution: GNU/Parabola
Posts: 3

Rep: Reputation: Disabled
Question 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
 
Old 02-20-2015, 02:02 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
Old 02-20-2015, 08:57 AM   #3
23turbo
LQ Newbie
 
Registered: Feb 2015
Distribution: GNU/Parabola
Posts: 3

Original Poster
Rep: Reputation: Disabled
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.
 
Old 02-20-2015, 11:06 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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/

-
 
Old 02-21-2015, 12:44 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
Old 02-21-2015, 09:16 AM   #6
23turbo
LQ Newbie
 
Registered: Feb 2015
Distribution: GNU/Parabola
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post

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!
 
Old 02-21-2015, 10:11 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← 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.


-

Last edited by knudfl; 02-21-2015 at 10:12 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] dvdstyler broken on latest wxsvg update pwalden Fedora 1 10-25-2011 11:36 AM
"mkdir: missing operand" error when installing Linux gnuub Linux - Newbie 1 05-17-2011 02:28 PM
[SOLVED] "missing kernel .config file" error while compiling linux source code for android preetb123 Linux - Mobile 3 03-19-2011 07:46 AM
"Can't open X library" error while installing ns-2.26 in fc9 mq15 Linux - Software 22 04-19-2010 09:52 AM
Installing Firefox "Fatel error [-618] Couldnt open xpistub library" Nukem Linux - General 8 02-11-2005 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration