libgpod3 + gtkpod

Reply

Join Date: Aug 2006
Posts: 917
Reputation: linux is an unknown quantity at this point 
Solved Threads: 26
linux's Avatar
linux linux is offline Offline
Posting Shark

libgpod3 + gtkpod

 
0
  #1
Apr 3rd, 2008
Alright, so I got libgpod3 installed, finally! However, it isn't seen by my system.

alex@alex-laptop:~/Desktop$ whereis libgpod3
libgpod3:

However:

alex@alex-laptop:~/Desktop$ ls /usr/lib/libgpo*
/usr/lib/libgpod.so.3  /usr/lib/libgpod.so.3.0.0

And, when trying to install gtkpod from source, I get the error:

checking for LIBGPOD... no
configure: error: *** No package 'libgpod-1.0' found
See `config.log' for more details.

Is there some symbolic or hard link I can make to get this to work? Thanks in advance.

-- Alex
Toshiba M1151.49 GB DDR-2 RAM1.6 GHz Centrino Duo80GB HDDWindows XP Media Center Edition
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,050
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 331
Moderator
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: libgpod3 + gtkpod

 
0
  #2
Apr 3rd, 2008
Libraries aren't executable in the same way that binaries are; really, they're just object files containing a few useful structures and routines that can be used by other software. As such, there is no reason to add library directories to the PATH variable, instead, they're usually added to LD_LIBRARY_PATH and LD_RUN_PATH.

The thing that makes me suspicious is the error message: "No package 'libgpod-1.0' found". Apparently it's looking for libgpod-1.0, while you've installed libgpod 3. I don't know anything about libgpod, but it could be that it's looking for a different version of the library.

The first thing I'd recommend doing is making sure you have the generic name of the library (in this case, simply libgpod.so). So what you need to do is make a symbolic link from /usr/lib/libgpod.so.3 to /usr/lib/libgpod.so:
ln -s /usr/lib/libgpod.so.3 /usr/lib/libgpod.so
If that doesn't work, I'd say it requires libgpod version 1.
"Technological progress is like an axe in the hands of a pathological criminal."
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 917
Reputation: linux is an unknown quantity at this point 
Solved Threads: 26
linux's Avatar
linux linux is offline Offline
Posting Shark

Re: libgpod3 + gtkpod

 
0
  #3
Apr 3rd, 2008
Still, same error. But that's odd, because I've used gtkpod with libgpod3 before.

Also, Amarok can't compile with libgpod3 either. It doesn't pass through the configure script. It completely ignores --with-libgpod, like it isn't even there.
Toshiba M1151.49 GB DDR-2 RAM1.6 GHz Centrino Duo80GB HDDWindows XP Media Center Edition
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,050
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 331
Moderator
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: libgpod3 + gtkpod

 
0
  #4
Apr 4th, 2008
Hmm. What is the output from the following commands?
$ find / -name "libgpod*.pc"
$ echo $PKG_CONFIG_PATH
"Technological progress is like an axe in the hands of a pathological criminal."
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 917
Reputation: linux is an unknown quantity at this point 
Solved Threads: 26
linux's Avatar
linux linux is offline Offline
Posting Shark

Re: libgpod3 + gtkpod

 
0
  #5
Apr 4th, 2008
alex@alex-laptop:~$ sudo !!
sudo find / -name "libgpod*.pc"
[sudo] password for alex:
/home/alex/Apps/Source/Applications/libgpod-0.6.0/libgpod-1.0.pc
/home/alex/Apps/Source/Applications/gtkpod_svn/gtkpod/libgpod/trunk/libgpod-1.0.pc
alex@alex-laptop:~$

alex@alex-laptop:~$ echo $PKG_CONFIG_PATH

alex@alex-laptop:~$
Toshiba M1151.49 GB DDR-2 RAM1.6 GHz Centrino Duo80GB HDDWindows XP Media Center Edition
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,050
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 331
Moderator
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: libgpod3 + gtkpod

 
0
  #6
Apr 4th, 2008
And what does your config.log look like? You don't have to post the whole thing if it's long, but post anything that looks suspicious and any error messages.
"Technological progress is like an axe in the hands of a pathological criminal."
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 917
Reputation: linux is an unknown quantity at this point 
Solved Threads: 26
linux's Avatar
linux linux is offline Offline
Posting Shark

Re: libgpod3 + gtkpod

 
0
  #7
Apr 4th, 2008
I'll upload it. This is from the libgpod install.
Attached Files
File Type: txt config.log.txt (41.9 KB, 1 views)
Toshiba M1151.49 GB DDR-2 RAM1.6 GHz Centrino Duo80GB HDDWindows XP Media Center Edition
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,050
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 331
Moderator
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: libgpod3 + gtkpod

 
0
  #8
Apr 4th, 2008
Sorry, I meant the config.log from the gtkpod compilation attempt.
"Technological progress is like an axe in the hands of a pathological criminal."
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 917
Reputation: linux is an unknown quantity at this point 
Solved Threads: 26
linux's Avatar
linux linux is offline Offline
Posting Shark

Re: libgpod3 + gtkpod

 
0
  #9
Apr 4th, 2008
Okay. Attached.

EDIT: But wait. I was running autogen.sh, not configure.
Last edited by linux; Apr 4th, 2008 at 10:45 pm.
Attached Files
File Type: txt config.log.txt (23.5 KB, 1 views)
Toshiba M1151.49 GB DDR-2 RAM1.6 GHz Centrino Duo80GB HDDWindows XP Media Center Edition
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,050
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 331
Moderator
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: libgpod3 + gtkpod

 
0
  #10
Apr 4th, 2008
>But wait. I was running autogen.sh, not configure.
autogen.sh is a script that uses the autoconf/automake tools to first generate a configure script, after which it calls the configure script.

The critical part from the config.log file is here:

configure:6268: checking for LIBGPOD
configure:6276: $PKG_CONFIG --exists --print-errors "libgpod-1.0 >= 0.6.0"
Package libgpod-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgpod-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgpod-1.0' found

For some reason, the libgpod install script didn't install the libgpod-1.0.pc file (as it's clearly present in the source you downloaded). What you should probably do is find your pkg-config directory (usually /usr/local/lib/pkg-config or /usr/lib/pkg-config, try searching around), then set your PKG_CONFIG_PATH environment variable to that directory. Then try running autogen.sh again.
"Technological progress is like an axe in the hands of a pathological criminal."
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the *nix Software Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC