[mythtv-users] Undefined symbol error when running CVS
Jason
potuncle at enjoyingeugene.com
Fri Nov 12 21:30:42 UTC 2004
Woa...I didn't expect to start a flamewar!
I did remove any of the myth components after I did apt-get uninstall
mythtv and got a fresh copy of the CVS and began compiling. I wanted to
make sure that everything went smoothly, so I compiled all the libs one
at a time. making both libs/libavcodec, libs/libavformat completed
without errors, but when compiling /libs/libmyth I got the following
error:
/usr/bin/ld: cannot find -lmythsamplerate-0.16
collect2: ld returned 1 exit status
make: *** [libmyth-0.16.so.0.16.0] Error 1
I couldn't find anything in either the user or dev mailing lists that
make any mention of mythsamplerate. I appreciate all of the help I am
getting here.
Thanks,
Jason
On Nov 11, 2004, at 12:38 AM, Jarod Wilson wrote:
> On Wednesday 10 November 2004 23:29, Shawn wrote:
>> Likely a library it's linking to has been compiled with a compiler not
>> ABI compatible with what myth was compiled with (2.96 v 3.X?), or some
>> psycho-babble sounding like that. (The "_ZNBlahHorkBeeble" bullshit
>> is a
>> clue)
>
> No, its not likely. The last Red Hat distribution with a 2.96 compiler
> was Red
> Hat Linux 7.3, over three years and six releases ago. He said he's
> running
> Fedora Core 2, using packages from ATrpms, compiled on a Fedora Core 2
> system. (Well, in a FC2 chroot using FC2's native tool chain, anyhow).
>
>> Try looking at all the libraries myth links to (ldd), and recompiling
>> those libraries with the same gcc (or g++ as it were).
>
> Don't bother. Way off base, like Isaac said.
>
>> If you don't like binary incompatibility but you're patient and an
>> obsessive problem solver, gentoo is for you.
>
> Been there, done that. I like it, but way too much time and effort
> just to
> make basic things work the way they do 30 minutes out of the box with
> binary
> distributions. There are enough problems for me to solve on those
> platforms
> that are far more interesting than the ones that have already been
> solved by
> binary distros. As for binary incompatibility, its not an issue I've
> ran into
> in years and years on any RH platform.
>
>
>> On Wed, 2004-11-10 at 19:38 -0800, Jason wrote:
>>> I posted this problem originally as a response to a long thread and
>>> realized I should probably start a new one since my problem is
>>> different than the one the thread was discussing. I am running FC2
>>> that
>>> was set up following Jarod's guide. I am trying to foray into HDTV,
>>> so
>>> I thought it would be best to start using the CVS MythTV. I did
>>> "apt-get remove mythtv" to remove my previous install of 0.16,
>>> downloaded and successfully compiled the CVS. Problem is that when I
>>> try running either mythbackend or mythfrontend I receive an error
>>> stating :error while loading shared libraries: mythbackend (or
>>> mythfrontend): undefined symbol: _ZN11MythContextC1ERK7QStringb
>>>
>>> Any ideas?
>
> Yes. Look at the output of:
>
> # rpm -qa | grep myth
>
> You probably still have a bunch of rpms installed, apt-get remove
> mythtv only
> removes the mythtv package, there are several packages that have to be
> removed (namely, all the ones in the output from the above command).
>
> Try:
>
> # rpm -e `rpm -qa | grep myth`
>
> --
> Jarod C. Wilson, RHCE
> jcw at wilsonet.com
>
> Got a question? Read this first...
> http://catb.org/~esr/faqs/smart-questions.html
> MythTV, Fedora Core & ATrpms documentation:
> http://wilsonet.com/mythtv/
> MythTV Searchable Mailing List Archive
> http://www.gossamer-threads.com/lists/mythtv/
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
More information about the mythtv-users
mailing list