A library needs to be moved after compiling

Bug #258687 reported by Vadim Peretokin
2
Affects Status Importance Assigned to Milestone
Colony
In Progress
Medium
Chris Scutcher

Bug Description

vadi@ubuntu-laptop:~/Programs/colony/Code/colony$ cd release
vadi@ubuntu-laptop:~/Programs/colony/Code/colony/release$ ls
colony colony-bin colony.py config
vadi@ubuntu-laptop:~/Programs/colony/Code/colony/release$ ./co
colony colony-bin colony.py config/
vadi@ubuntu-laptop:~/Programs/colony/Code/colony/release$ ./co
colony colony-bin colony.py config/
vadi@ubuntu-laptop:~/Programs/colony/Code/colony/release$ ./colony

Checking options...
Using default flat map
Options OK!
COLONY_BASE = /home/vadi/Programs/colony/Code/colony
COLONY_BIN = /home/vadi/Programs/colony/Code/colony/release/colony-bin
COLONY_CONFIG = /home/vadi/.colony

Checking paths...
Paths OK!

Checking files...
Files OK!

Running Colony...

/home/vadi/Programs/colony/Code/colony/release/colony-bin: error while loading shared libraries: libPolyVoxSceneManager.so.0: cannot open shared object file: No such file or directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Colony exit with error ( 127 )
vadi@ubuntu-laptop:~/Programs/colony/Code/colony/release$

I tried moving the library over to where it wants, but it still fails to find it...

vadi@ubuntu-laptop:~/Programs/colony/Code/colony/release$ ls
colony colony.py libPolyVoxSceneManager.so libPolyVoxSceneManager.so.0.1.0
colony-bin config libPolyVoxSceneManager.so.0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
vadi@ubuntu-laptop:~/Programs/colony/Code/colony/release$ ./colony

Checking options...
Using default flat map
Options OK!
COLONY_BASE = /home/vadi/Programs/colony/Code/colony
COLONY_BIN = /home/vadi/Programs/colony/Code/colony/release/colony-bin
COLONY_CONFIG = /home/vadi/.colony

Checking paths...
Paths OK!

Checking files...
Files OK!

Running Colony...

/home/vadi/Programs/colony/Code/colony/release/colony-bin: error while loading shared libraries: libPolyVoxSceneManager.so.0: cannot open shared object file: No such file or directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Colony exit with error ( 127 )
vadi@ubuntu-laptop:~/Programs/colony/Code/colony/release$

description: updated
Revision history for this message
Chris Scutcher (chris-scutcher) wrote :

you have to run sudo ldconfig to get linux to find the lib. I'll change the makefile so it does it with the install

Changed in colony:
assignee: nobody → chris-scutcher
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Chris Scutcher (chris-scutcher) wrote :

Partial fix committed in revision 127. Added instruction to run ldconfig after installing PolyVoxSceneManager. Would have preferred to alter the polyvox cmake file, but it doesnt wanna happen. If anyone knows how id be interested to here.

Changed in colony:
status: Confirmed → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.