Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tricks to install scamp plplot/qhull in openSUSE Tumbleweed
04-17-2017, 10:45
Post: #1
Tricks to install scamp plplot/qhull in openSUSE Tumbleweed
Dear Folks,

I've noted that the installation of scamp in new LINUX boxes is an issue. For many LINUX distributions, default plplot libraries are version 5.11 or higher and the library libplplotd.so.11 is missed.
I've used a workaround, which can be used to get scamp running.
This recipe is for openSUSE Tumbleweed, but it should useful for openSUSE Leap or some other new LINUX distributions with archive repositories.

a) Install the "rpm" of scamp without deps check, as:

rpm -ivh --nodeps scamp-2.0.4-1.x86_64.rpm

b) Find plplot and plplot-devel "rpms" for your OpenSUSE, which contains the mentioned libplplotd.so.11 library. For example, I've downloaded the rpm-files from rpmfind.net:

plplot-5.9.9-16.1.5.x86_64.rpm
plplot-devel-5.9.9-16.1.5.x86_64.rpm

c) Now, move the rpm-files to a scratch directory and unpackage them, for example using:

rpm2cpio plplot-5.9.9-16.1.5.x86_64.rpm | cpio -idmv
rpm2cpio plplot-devel-5.9.9-16.1.5.x86_64.rpm | cpio -idmv

d) In the scratch directory, you can find the structure of directories and files packaged in the rpm-files. Copy the device libraries and the libplplotd.so.11.0.0 files to /usr/lib64. For example:

cp -r scratch/usr/lib64/plplot5.9.9 /usr/lib64/
cp scratch/usr/lib64/libplplotd.so.11.0.0 /usr/lib64/

e) Create the link:

ln -s /usr/lib64/libplplotd.so.11.0.0 /usr/lib64/libplplotd.so.11

f) The last issue is the qhull library. Again, find a useful version like:

qhull-2010.1-1.el5.x86_64.rpm

Unpack it, copy to /usr/lib64 and create the link:

ln -s libqhull.so.5.0.0 libqhull.so.5

After this, you have scamp running in a very new LINUX distro openSUSE Tumbleweed "like a charm" Toungue. As example, attached a plot.

Saludos from La Serena.

Rodolfo


[attachment=317]
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)