OK, this is probably a stupid question: but where's the .so file after building?
I found a .o file in a .libs directory but no .so file anywhere to be found.
Where's the .so?
- A Meteorite
- Private First Class
- Posts: 1786
- Joined: Thu Apr 28, 2005 12:56 am
- Location: California, U.S.
- Contact:
Where's the .so?
Owner @ BZFX
Core Admin @ CAN
Email me: bzmet…@gmail.com
- A Meteorite
- Private First Class
- Posts: 1786
- Joined: Thu Apr 28, 2005 12:56 am
- Location: California, U.S.
- Contact:
OK, bumping is bad... but someone has to know! Really, I want to get into this plugin stuff, but I don't even know where the .so file is located.
Using Mac OS X 10.4.2.
Using Mac OS X 10.4.2.
Owner @ BZFX
Core Admin @ CAN
Email me: bzmet…@gmail.com
- I_Died_Once
- Special Forces
- Posts: 635
- Joined: Sun Nov 28, 2004 5:27 pm
- Location: The Dark Side
- Contact:
I dunno about mac, but on a linux system, they're in the /bzflag/lib/ directory in the system.
See
My user name on this sytem is death, and when I compile, I use --prefix=/home/death/bzflag
ls displays the contents of whatever directory you are in
See
Code: Select all
linux:/home/death/bzflag/lib # ls
. libairspawn.so libhiddenAdmin.so.0 libRogueGenocide.so.0.0.0 playHistoryTracker.a
.. libairspawn.so.0 libhiddenAdmin.so.0.0.0 libSAMPLE_PLUGIN.a playHistoryTracker.la
airspawn.a libairspawn.so.0.0.0 libkillall.a libSAMPLE_PLUGIN.la playHistoryTracker.so
airspawn.la libBZFSplugin.a libkillall.la libSAMPLE_PLUGIN.so RogueGenocide.a
airspawn.so libBZFSplugin.la libkillall.so libSAMPLE_PLUGIN.so.0 RogueGenocide.la
chathistory.a libBZFSplugin.so libkillall.so.0 libSAMPLE_PLUGIN.so.0.0.0 RogueGenocide.so
chathistory.la libBZFSplugin.so.0 libkillall.so.0.0.0 libshockwaveDeath.a SAMPLE_PLUGIN.a
chathistory.so libBZFSplugin.so.0.0.0 libplayHistoryTracker.a libshockwaveDeath.la SAMPLE_PLUGIN.la
hiddenAdmin.a libchathistory.a libplayHistoryTracker.la libshockwaveDeath.so SAMPLE_PLUGIN.so
hiddenAdmin.la libchathistory.la libplayHistoryTracker.so libshockwaveDeath.so.0 shockwaveDeath.a
hiddenAdmin.so libchathistory.so libplayHistoryTracker.so.0 libshockwaveDeath.so.0.0.0 shockwaveDeath.la
killall.a libchathistory.so.0 libplayHistoryTracker.so.0.0.0 libvocaliser.a shockwaveDeath.so
killall.la libchathistory.so.0.0.0 libRogueGenocide.a libvocaliser.la vocaliser.a
killall.so libhiddenAdmin.a libRogueGenocide.la libvocaliser.so vocaliser.la
libairspawn.a libhiddenAdmin.la libRogueGenocide.so libvocaliser.so.0 vocaliser.so
libairspawn.la libhiddenAdmin.so libRogueGenocide.so.0 libvocaliser.so.0.0.0
linux:/home/death/bzflag/lib #
ls displays the contents of whatever directory you are in
...This has been a recording.
- A Meteorite
- Private First Class
- Posts: 1786
- Joined: Thu Apr 28, 2005 12:56 am
- Location: California, U.S.
- Contact:
I_Died_Once
Thanks. I'll take a look. Right now, BZFlag is compiled "globally" - everything goes in /usr . I'll poke around in that folder for a "libs".
Have you tried globally compiling without --prefix? If you could it wopuld be nice to see where it then puts the .so's.
*edit*
Some more questions... one: when you compile BZFlag do you use --enable-plugins and --prefix? Or do you only use --prefix when you compile each individual plugin?
Thanks. I'll take a look. Right now, BZFlag is compiled "globally" - everything goes in /usr . I'll poke around in that folder for a "libs".
Have you tried globally compiling without --prefix? If you could it wopuld be nice to see where it then puts the .so's.
*edit*
Some more questions... one: when you compile BZFlag do you use --enable-plugins and --prefix? Or do you only use --prefix when you compile each individual plugin?
Owner @ BZFX
Core Admin @ CAN
Email me: bzmet…@gmail.com
- A Meteorite
- Private First Class
- Posts: 1786
- Joined: Thu Apr 28, 2005 12:56 am
- Location: California, U.S.
- Contact:
Just to update everyone on this... I can *compile* plugins now, but no .so file is ever placed in /usr/local/libs. I must admit I have gotten further as before I would get warnings/errors which wouldn't let me "make install". I only get a .o file and a .la (think that's the one...)
I'll try your suggestion Tegan.
I'll try your suggestion Tegan.
Owner @ BZFX
Core Admin @ CAN
Email me: bzmet…@gmail.com