PYROMS : lpsolve55.so not found. & libgu.so not found

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
dhirendra.cub
Posts: 2
Joined: Mon Dec 19, 2016 8:04 pm
Location: JNU

PYROMS : lpsolve55.so not found. & libgu.so not found

#1 Unread post by dhirendra.cub »

Hii Folks

I have built pyroms using python2.7. All the libraries are installed successfully and I am being able to import pyroms and pyroms_toolbox. However, from bathy_smoother import shows a warning:

lpsolve55.so not found
Linear programming method will not be available.

again, while following the text example I am getting the error:
hgrd = pyroms.grid.Gridgen(lonp, latp, beta, (Mp+3,Lp+3), proj=map)
...
...
OSError: libgu.so: cannot open shared object file: No such file or directory

Please help me solve the error. Any lead in solving the error is appreciated.

Thanks
Dhirendra

User avatar
kate
Posts: 4088
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: PYROMS : lpsolve55.so not found. & libgu.so not found

#2 Unread post by kate »

I don't know how to fix lpsolve, but the README has this advice for libgu:
You might
also need libgu.so to be in your LD_LIBRARY_PATH. I'm getting inconsistent
results with where the .so files need to be. Best results for me are if I go
to the site-packages directory where pyroms got installed and copy all the
.so files:

cp pyroms/*.so .
cp pyroms_toolbox/*.so .
cp bathy_smoother/*.so .
One of these needs to be in your LD_LIBRARY_PATH.

Post Reply