pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xine buildlink issue -- revisited



Sverre Froyen writes:
> On Thursday 25 October 2007, Sverre Froyen wrote:
> > On Thursday 25 October 2007, David Brownlee wrote:
> > > On Tue, 23 Oct 2007, Sverre Froyen wrote:
> > > > Hi,
> > > >
> > > > I'm still getting errors trying to start artsd.  It's the same error
> > > > that was reported in a tech-pkg thread about a month ago:
> > > >
> > > > /usr/pkg/lib/libarts_xine.so.0: Undefined PLT symbol "ao_new_port"
> > > > (symnum = 556)
> > > >
> > > > This is after building all packages from a pkgsrc tree cvs'd on 20 Oct.
> > > > The tech-pkg thread indicated that the problem could be solved by
> > > > upgrading to xine-arts-1.1.7nb1  As far as I can tell, I have the
> > > > corrected version:
> > > >
> > > > $ pkg_info | egrep 'arts|xine|libao'
> > > > arts-1.5.8          Analog Real-Time Synthesizer
> > > > xine-lib-1.1.7      Multimedia player library
> > > > libao-0.8.6nb4      Cross-platform audio library
> > > > libao-oss-0.8.6nb1  Cross-platform audio library (OSS plugin)
> > > > xine-arts-1.1.7nb1  The aRts audio output plugin for xine-lib
> > > >
> > > > Interestingly, libao-oss was installed as a prerequisite for xine-arts:
> > > >
> > > > $ pkg_info -R libao-oss-0.8.6nb1
> > > > Information for libao-oss-0.8.6nb1:
> > > >
> > > > Required by:
> > > > xine-arts-1.1.7nb1
> > > >
> > > > I would have expected to see libao-arts instead of libao-oss.
> > > >
> > > > I also installed libao-oss (but without rebuilding anything else):
> > > >
> > > > libao-arts-0.8.6nb3 Cross-platform audio library (arts plugin)
> > > >
> > > > without any apparent effect.
> > > >
> > > > Suggestions?
> > >
> > >   You may want to try rebuilding libao also. I rebuilt my packages
> > >   from libao and things which depended on it and all worked fine.
> > >
> > >   Of course I've rebuilt everything since with the release of
> > >   kde 3.5.8, but thats not directly relevant to this...
> >
> > Are you running NetBSD-current?  I neglected to say that I am attempting to
> > install this on NetBSD-current i386.  I am seeing this error after a
> > complete rebuild of all my packages (including kde 3.5.8).
> >
> > I found another email that sheds light on the issue:
> >
> > http://mail-index.netbsd.org/pkgsrc-users/2007/08/21/0026.html
> >
> > My kdemultimedia config.log shows the same failure to locate _x_ao_new_port
> > in the xine library as reported in that email.
> 
> I was able to make the test succeed by patching the configure script to 
> include -lpthread in the LIBS statement, i.e.,
> 
> The line
>       LIBS="-lxine  $LIBS"
> was changed to
>       LIBS="-lxine -lpthread $LIBS"
> 
> (Adding a -pthread option to gcc works too.)
> After rebuilding kdemultimedia artsd again works.

Yes.... I needed to do this yesterday to get sound working with 
artsd...  Turns out that adding:

LIBS+=-lpthread

to multimedia/kdemultimedia3/Makefile was sufficient.  (4.99.34 
-current i386)  artsd runs until one tries to make it play a sound... 
it's at that point it dies with:

/usr/pkg/lib/libarts_xine.so.0: Undefined PLT symbol "ao_new_port" (symnum = 
556)

:(

Later...

Greg Oster





Home | Main Index | Thread Index | Old Index