-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 12.04 - slaxproc: error while loading shared libraries: libslax.so.0: cannot open shared object file: No such file or directory #16
Comments
On Sep 25, 2013, at 12:23 PM, francisluong wrote:
What packaging scheme does CENTOS use? I know we use CENTOS for junospace and it runs libslax and juise.
What this installed from the RPM? The files should be in /usr/lib64. "ldd" should be able to tell you which libs it needs: [root@localhost vagrant]# ldd /usr/bin/slaxproc What does your ldd say? Thanks, |
Phil, Thanks for the reply. Please find my responses below. I was able to get it -Franco CentosWhat packaging scheme does CENTOS use? I know we use CENTOS for junospace
If I understand your question, Centos uses yum/rpm. I can't seem to get it Attempting to build using the .tar.gz I get:checking for libcurl libraries >= 7.21.3... configure: error: Version Using the RPM, I get this:
(/libslax-0.17.1-1.fc18.x86_64) [fluong@fxcentosvmw Downloads]$ yum list installed glibc _[fluong@fxcentosvmw Downloads]$ cat /etc/_release** Ubuntu
For Ubuntu, I built it using the .tar.gz file. *fluong@ubuntu:~/Downloads/libslax-0.17.1$ ldd /usr/local/bin/slaxproc * I was able to get it working here by symlink-ing the shared object fluong@ubuntu:~$ cd /usr/lib/x86_64-linux-gnu/ fluong@ubuntu:/usr/lib/x86_64-linux-gnu$ sudo ln -s fluong@ubuntu:/usr/lib/x86_64-linux-gnu$ slaxproc --version |
On Sep 25, 2013, at 3:33 PM, francisluong wrote:
Hmmm... does your "make install" give any errors? You should see something like: Making install in libslax I'm downloading vagrant boxes for centos-6.4 and ubuntu-12.1, but it will likely be tomorrow before I get a chance to play with them. Thanks, |
Pardon the long output. It looks like libtool has some textblocks messages -Franco fluong@ubuntu:~/Downloads/libslax-0.17.1/build$ sudo make install ldconfig -n /usr/local/libLibraries have been installed in: If you ever happen to want to link against installed libraries
See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages./bin/mkdir -p '/usr/local/share/man/man3' ldconfig -n /usr/local/lib/slax/extensionsLibraries have been installed in: If you ever happen to want to link against installed libraries
See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.make install-exec-hook ldconfig -n /usr/local/lib/slax/extensionsLibraries have been installed in: If you ever happen to want to link against installed libraries
See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.make install-exec-hook ldconfig -n /usr/local/lib/slax/extensionsLibraries have been installed in: If you ever happen to want to link against installed libraries
See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.make install-exec-hook ldconfig -n /usr/local/lib/slax/extensionsLibraries have been installed in: If you ever happen to want to link against installed libraries
See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.make install-exec-hook ldconfig -n /usr/local/lib/slax/extensionsLibraries have been installed in: If you ever happen to want to link against installed libraries
See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.make install-exec-hook === Francis Luong (Franco) === http://about.me/francoonthebassOn Wed, Sep 25, 2013 at 3:56 PM, Phil Shafer [email protected]:
|
On Sep 25, 2013, at 4:39 PM, francisluong wrote:
These are the important lines, and they say that the symlinks should have been made.
Not sure why it didn't work. When you make this symlink by hand, does ldd report sane results? Thanks, |
On Sep 25, 2013, at 4:42 PM, francisluong wrote:
Does ubuntu not put /usr/local/lib in /etc/ld.so.conf? The RPM installs into /usr, not /usr/local, and I'm not sure that the autotools understand the linux /usr/lib64/ concept. You could try "../configure --prefix /usr --libdir=/usr/lib64". I'll give this a try tomorrow. Thanks, |
I'm relatively new to Ubuntu so I'm not sure I'm going to accurately fluong@ubuntu:~$ ls /usr/lib64 === Francis Luong (Franco) === http://about.me/francoonthebassOn Wed, Sep 25, 2013 at 5:22 PM, Phil Shafer [email protected]:
|
On Sep 25, 2013, at 5:50 PM, francisluong wrote:
Isn't linux a strange world! So is /usr/local/lib in /etc/ld.so.conf? Thanks, |
confirmed. fluong@ubuntu:~$ cat /etc/ld.so.conf fluong@ubuntu:/etc/ld.so.conf.d$ ls -al fluong@ubuntu:/etc/ld.so.conf.d$ cat libc.conf libc default configuration/usr/local/lib fluong@ubuntu:/etc/ld.so.conf.d$ cat x86_64-linux-gnu.conf Multiarch support/lib/x86_64-linux-gnu |
What if you use "--libdir=/usr/lib/x86_64-linux-gnu" as a configure option? That should put the .so files in the right place. Thanks, |
I have had no success in getting one of the vagrant images up and running for ubuntu-12.04. Could you please try to above work-around and see if it works? Thanks, |
Will do. I am OOO until oct 31. Will check then. On Tuesday, October 29, 2013, Phil Shafer wrote:
Sent from my Mobile |
Phil, I was able to confirm that it worked when I:
If I can reconfirm with a fresh installation, I will follow-up with fluong@ubuntu:~/Downloads/libslax-0.17.1/build$ slaxproc --version fluong@ubuntu:~/Downloads/libslax-0.17.1/build$ date === Francis Luong (Franco) === http://about.me/francoonthebassOn Tue, Oct 29, 2013 at 10:04 AM, Phil Shafer [email protected]:
|
On Oct 31, 2013, at 6:00 AM, francisluong wrote:
Can you also check the output of "ldd % ldd ~/work/root/bin/slaxproc Thanks, |
fluong@ubuntu:~/Downloads/libslax-0.17.1/build$ which slaxproc fluong@ubuntu:~/Downloads/libslax-0.17.1/build$ ldd /usr/local/bin/slaxproc === Francis Luong (Franco) === http://about.me/francoonthebassOn Thu, Oct 31, 2013 at 10:00 AM, Phil Shafer [email protected]:
|
Franco/Phil - Edward |
+1 thanks. |
Hi Guys,
I am having some trouble with building libslax. On CENTOS, I couldn't get a new enough version of libcurl. On Ubuntu 12.04, I can build it but I can't open the shared object.
fluong@ubuntu:
/Downloads/libslax-0.17.1$ which slaxproc/Downloads/libslax-0.17.1$ slaxproc --versin/usr/local/bin/slaxproc
fluong@ubuntu:
slaxproc: error while loading shared libraries: libslax.so.0: cannot open shared object file: No such file or directory
fluong@ubuntu:
/Downloads/libslax-0.17.1$ ls /usr/local/lib/Downloads/libslax-0.17.1$libjuise.a libjuise.so libjuise.so.0.0.0 libslax.la libslax.so.0 pkgconfig slax
libjuise.la libjuise.so.0 libslax.a libslax.so libslax.so.0.0.0 python2.7
fluong@ubuntu:
I could use some help or suggestions.
Thanks,
Franco
The text was updated successfully, but these errors were encountered: