Re: Strange error running zinf under linux

Kristian Kvilekval <[email protected]> 10 Apr 2003 09:27:14 -0700
Newsgroups gmane.comp.audio.zinf.user
Message-ID <1049992034.3514.13.camel@krispc>
On Wed, 2003-04-09 at 07:30, Pim Schellart wrote:
> Hi everybody,
> 
> I've just installed zinf 2.2.2 onto my suse linux 8.0 box and when I try
> to run it from a KDE konsole shell i get this strange window:
> 
> pim@linux:~> /usr/local/bin/zinf
> Cannot create/open a semaphore. Is SYS V IPC installed?
> 
> Command Line Interface
> 
>  * q    Quit
>  * +/=  Next Song
>  * -    Prev Song
>  * p    Pause / UnPause
>  * s    Shuffle
> 
>  * f    Fast forward 10 seconds
>  * F    Fast forward 1 min
>  * j    Fast forward 10 min
> 
>  * b    Skip backwards 10 seconds
>  * B    Skip backwards 1 min
>  * J    Skip backwards 10 min
> 
>  * h    Print these usage instructions
>  * ?    Print info including current location in file
> 
> cmdline.ui requires a song or playlist argument
> 
> then my console display craches (i can type text but it's no longer
> displayed commands are executed though??)

That is strange since it should choose zinf.ui over cmdline.ui.
Try 
  $ /usr/local/bin/zinf -ui zinf.ui  




> i installed from souce allong with the id3 and musicbrainz libraries.
> compiling and installing gave no errors but when i tried to run the
> program it first asked for libmusicbrainz.so.1 even though it was
> installed. I found out zinf was just looking in the wrong directory to
> find the library so I created a symbolic link in /lib and the error was
> gone but then it asked for libid3-3.8.so.3 so i created another symbolic
> link and got the window above.

Try
  ldd /usr/local/bin/zinf
to see where it's picking up the shared libs from.
I suspect they are installed in /usr/local/lib but
you've forgotten to add that directory to you shared library
loader search path.  Look at /etc/ld.so.conf  and check
that the directory where you install libid3 and libmusicbrainz.
is in there.  If not, then add the directory and run ldconfig


> Please help me what should I do to get this thing working???
> 
> Thanks in advance,
> Pim Schellart
> 
> (please forgive me for my bad english i'm dutch)
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
> for complex code. Debugging C/C++ programs can leave you feeling lost and 
> disoriented. TotalView can help you find your way. Available on major UNIX 
> and Linux platforms. Try it free. www.etnus.com
> _______________________________________________
> Zinf-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/zinf-users
-- 
Kristian G. Kvilekval
email:[email protected] office:(805)893-4276 http://www.cs.ucsb.edu/~kris



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com