From: Jimmy Desai <desaijay84@ya...> - 2005-09-14 00:27:24
I'm trying to create a plugin driver for my project.
I was reading through the howto and managed to get
some stuff working. However, I noticed that if I try
to include the iostream header file, player crashes
when trying to load that module. To ascertain that the
problem was not in my code, I tried doing the same
with the exampledriver.cc provided by Player.
I first tried it with the default code and compiled
it according to the directions in the howto. It worked
perfectly. Then, all I did was just add the line
"include <iostream>", compile and then run it. And it
stopped working. The error I get is the following:
"trying to load
undefined symbol: __dso_handle)
trying to load exampledriver.so...failed
(exampledriver.so: cannot open shared object file: No
such file or directory)
error : error loading plugin: (null)
error : failed to load plugin: exampledriver.so
I'm not sure where the fault lies. My system details
* Debian Etch (64 bit) on AMD64.
* Compiler is: G++ 4.0
Your help is appreciated.
Yahoo! Mail - PC Magazine Editors' Choice 2005
From: Ben Grocholsky <bpg@gr...> - 2005-09-14 02:47:29
I know the g++ 3.3.5 linker messes this up but libtool works. Don't know about
g++ 4. Would be worth trying the libtool makefile for exampledriver. It could
give you a way around the problem.
On Tuesday 13 September 2005 20:27, Jimmy Desai wrote:
> undefined symbol: __dso_handle)
> trying to load exampledriver.so...failed
> * Debian Etch (64 bit) on AMD64.
> * Compiler is: G++ 4.0
Get latest updates about Open Source Projects, Conferences and News.