Jump to content

Ubuntu, problem with libraries.


San

Recommended Posts

Hi!

 

I compiled by myself GemRB and installeg it by './configure && make && sudo make install'.

When i hit gemrb it say's he can not load libgemrb_core or something and falls down.

When i go to gemrb directory and hit ./gemrb (after preparing plugins) it works fine.

 

Have no idea what to do.

 

Ubuntu 10.04.

 

Regards.

Link to comment

it is set to GemRBPath=/usr/local/bin/

while:

san@eeepc:/etc$ locate libgemrb_core
/home/san/gemrb-0.6.0/gemrb/plugins/Core/libgemrb_core.la
/home/san/gemrb-0.6.0/gemrb/plugins/Core/.libs/libgemrb_core.la
/home/san/gemrb-0.6.0/gemrb/plugins/Core/.libs/libgemrb_core.lai
/home/san/gemrb-0.6.0/gemrb/plugins/Core/.libs/libgemrb_core.so
/home/san/gemrb-0.6.0/gemrb/plugins/Core/.libs/libgemrb_core.so.0
/home/san/gemrb-0.6.0/gemrb/plugins/Core/.libs/libgemrb_core.so.0.0.0
/usr/local/lib/libgemrb_core.la
/usr/local/lib/libgemrb_core.so
/usr/local/lib/libgemrb_core.so.0
/usr/local/lib/libgemrb_core.so.0.0.0

with this config, my compiled gemrb (not installed) works fine.

Link to comment

Try setting it to the full path to the GemRB executable. Before that, I suggest you fetch the latest gemrb with:

git clone git://gemrb.git.sourceforge.net/gitroot/gemrb/gemrb

Link to comment

(I'm just guessing here, so YMMV.)

 

If GemRB is following the usual convention, you'd need

 

GemRBPath=/usr/local

 

I think.

 

That or, try to find the "GUIScripts" directory and use the directory it's in. So if the GUIScripts directory is /usr/share/gemrb/GUIScripts then you'd use /usr/share/gemrb.

Link to comment

It is quite uncommon - i belive - i today tried gemrb command

(with GemRBPath setted to /usr/local/bin)

and it started to work. Is it possible that it started to work after reboot?

 

Regards,

and thanks for all your help.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...