[SOLVED] Problem in installing CISL's NCL due to shared libraries: libbz2.so.1.0
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 13
I don't know. And I don't know the NCL program.
But if it's only two users, it shouldn't be that time consuming to set up both.
Save a text backup for the first. And reuse the most of the settings for "number 2".
I have recently installed pixman-devel-0.18.4-1.el6_0.1.i686.rpm and
cairo-devel-1.8.8-3.1.el6.i686.rpm along with expat-2.0.1-11.el6_2.i686.rpm but still could not run the command ncargex cpex08 -clean.
hi dear
i have a problem same as frist problem of cent_sangeeta
but my system is linux fedore 16 arch i686
when i run NCL by typing:
[code] ng4ex gsun01n -clean
it reply:
ng4ex gsun01n -clean
NCAR Graphics NCL Example <gsun01n>
This example was set up to display the output to an
X11 window.
Copying gsun01n.ncl
Running NCL...
ncl: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory
ncl failed. “
there for i “locate libbz2.so.1.0” it reply : /lib/libbz2.so.1.0.6
and i set : export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib in .bashrc file.
how i can solve following error due to libbz2.so.1.0
thanks
fereshte
dear
it made me crazy
i use
yum install bzip2-lib
and
yum reinstall bzip2-lib
yum install bzip2-devel
but when type :ls /lib | grep libbz2
libbz2.so.1
libbz2.so.1.0.6
and again does not have libbz2.so.1.0
oh thanks
fortunatlly when i use cd /lib/ ; # ln -s libbz2.so.1.0.6 libbz2.so.1.0
libbz2.so.1.0 appear in /bin/
what does this command do?
please tell me , it makes me surprise.
you mean that there was libbz2.so.1.0 in other place than /bin/ in my system and ln -s link that with libbz2.so.1.0.6 that located in /bin/ ?
there fore if libbz2.so.1.0 was not on my system this camman (ln -s) did not work?
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 25 .
There are not supposed to be any libraries at all in /bin/.
And neither will libraries be found, if located in /bin/.
/bin/ is not in the LD_LIBRARY_PATH, and shouldn't be.
you are on right. but i want to know that, if "ln -s .."create libbz2.so.1.0 in /bin/ or its task is just linking two libraries that were located previously? this quesion is because at first i did not have mentioned library in /bin/. and suddenly it was seen in home directory.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 27 .
$ pwd : If your location is /home/name/, and you type ...
$ ln -s libbz2.so.1.0.6 libbz2.so.1.0
.. you can then test with ..
$ ls -l libbz2.so.1.0 : And get this reply ..
lrwxrwxrwx 1 name name <date> <time> libbz2.so.1.0 -> libbz2.so.1.0.6
.. and observe that libbz2.so.1.0 and libbz2.so.1.0.6
are blinking red to tell that it's not a valid link.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.