Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-17-2003, 11:12 PM   #1
LQ Newbie
Registered: Sep 2003
Posts: 2

Rep: Reputation: 0
redhat 9 gphoto installation woes....

Hi all,
I'm trying to update gphoto that comes with Redhat 9 with the version offered at Sourceforge, so that I can use my Oregon Scientific DShot II.

According to the FAQ in the manual:

*** Begin FAQ ***

I just sucessfully compiled and installed libgphoto2-2.2.1. But when configuring gphoto2-2.1.1 I get Library requirements (libgphoto2 >= 2.1.1) not met

If you don't have pkg-config installed yet, then please install it.

Otherwise, your PKG_CONFIG_PATH variable doesn't contain the pkgconfig/ directory in the lib/ directory of your libgphoto2 installation.

For a default installation, run

alice@host:~$ PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig
alice@host:~$ export PKG_CONFIG_PATH

and now run the gphoto2 ./configure again.

*** End FAQ ***

Well, I've tried that, and although libgphoto2 seems to install nicely, when I go to ./configure gphoto, it still complains:

*** Begin gphoto2 ./configure ***

checking for pkg-config... /usr/bin/pkg-config
checking for libgphoto2 >= 2.1.1... Requested 'libgphoto2 >= 2.1.1' but version
of libgphoto2 is 2.1.0

configure: error: Library requirements (libgphoto2 >= 2.1.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
[root@localhost gphoto2-2.1.2]#

*** End gphoto2 ./configure ***

What the heck am I doing wrong???

Also, if I do manage to get this running, is there a way to find out whether or not I've managed to put extra copies of library files, etc. that I don't need?

Old 09-18-2003, 04:52 AM   #2
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
Have you tried removing the old version of gphoto, and libgphoto? It says it's finding an old version. You could try removing them first, and then reinstalling from source.
Generally, it's a bad idea to update something installed by rpm with something installed from source - all sorts of annoying conflicts happen.
Old 09-18-2003, 11:33 PM   #3
LQ Newbie
Registered: Sep 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Today I tried removing the libraries... manually. Perhaps not the best way. Even though I could find no traces of the files, Redhat still complained.

If I recall, I *think* there's a "database" of sorts that Redhat uses to identify what versions of libraies it has.

At any rate, I still got the same error messages, and, was unable to update Gtkam with a newer version of libgphoto2.

I even found updated RPMs on, but, those didn't seem to do anything for updating the system.

Oh, BTW, I'm running Redhat 9. rpm -qa says I don't have libgphoto2 installed, but says gtkam-0.1.7-3, and gphoto2-2.1.0-7

Older versions of Redhat were nice when it came to installing packages, but RH9 is terrible. It lacks fine control for application installation.

Any help appreciated...


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
Installation woes Dank Linux - Newbie 2 10-14-2005 10:20 PM
Installation woes noir911 Slackware 3 10-03-2004 10:50 AM
New Installation Woes rpweis Linux - Newbie 2 08-04-2004 06:56 PM
installation woes lark046 Linux - General 3 05-31-2002 12:23 PM
Installation woes cyberkatis Linux - Software 1 02-07-2002 11:36 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:55 AM.

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