LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   libsqlite3.so.0 not found when running rpm2cpio (https://www.linuxquestions.org/questions/slackware-14/libsqlite3-so-0-not-found-when-running-rpm2cpio-757232/)

catkin 09-23-2009 07:20 AM

libsqlite3.so.0 not found when running rpm2cpio
 
Hello :)

I'm trying to install OOo 3.1.1 on Slackware 13 using openoffice.org.tar.gz from Slackbuilds.

When running the openoffice.org.SlackBuild script, I got error "rpm2cpio: error while loading shared libraries: libsqlite3.so.0: cannot open shared object file: No such file or directory".

I installed sqlite 3.5.9 using sqlite-3.5.9.tar.gz from Alien's Slackbuilds.

libsqlite3.so.0 is now on the system in a directory listed in /etc/ld.so.conf:
Code:

root@CW8vS:~# ls -l /usr/local/lib/libsqlite3.so.0*
lrwxrwxrwx 1 root root      19 2009-09-23 17:14 /usr/local/lib/libsqlite3.so.0 -> libsqlite3.so.0.8.6*
-rwxr-xr-x 1 root root 1131246 2009-09-23 17:14 /usr/local/lib/libsqlite3.so.0.8.6*

root@CW8vS:~# cat /etc/ld.so.conf
/usr/local/lib
/usr/i486-slackware-linux/lib
/usr/lib/seamonkey

But I get the same error when running the openoffice.org.SlackBuild script again.

What to do?

Best

Charles

gegechris99 09-23-2009 07:28 AM

Maybe try to manually run /sbin/ldconfig.

gegechris99 09-23-2009 07:30 AM

One question. Why did you install sqlite from Alien Bob's repository? It does seem to be an old version. Why not stick with sqlite package from stock Slackware?

egregor 09-23-2009 07:33 AM

OO SlackBuild worked here.

slackd 09-23-2009 08:06 AM

Try the Ooo package from here.

slackd 09-23-2009 08:08 AM

Or Try the Auto Building Script by "Massimo Cavalleri" from Slacky.eu

catkin 09-23-2009 12:45 PM

Quote:

Originally Posted by gegechris99 (Post 3694094)
One question. Why did you install sqlite from Alien Bob's repository? It does seem to be an old version. Why not stick with sqlite package from stock Slackware?

Thanks :) That's an easy question to answer -- pure ignorance! I prefer to use stock Slackware but do not know how. I'm still finding my way with Slackware, doing a pilot install in a virtual machine.

catkin 09-23-2009 12:51 PM

Quote:

Originally Posted by gegechris99 (Post 3694086)
Maybe try to manually run /sbin/ldconfig.

Thanks gegechris99 :) That worked.

catkin 09-23-2009 12:53 PM

Thanks to those who suggested alternative OOo package sources :) but I'm aiming to install in the most stock way available and I believe (rightly or wrongly?) that Bob Alien's builds are the most widely used.

gegechris99 09-23-2009 02:11 PM

Quote:

Originally Posted by catkin (Post 3694505)
Thanks to those who suggested alternative OOo package sources :) but I'm aiming to install in the most stock way available and I believe (rightly or wrongly?) that Bob Alien's builds are the most widely used.

Alien Bob's packages and SlackBuilds are, of course, reliable. Alien Bob can be trusted to provide high-quality packages.

However, I would suggest that if you want to install from a source as close as possible to Slackware, you should try http://www.slackbuilds.org/. This site can be considered as a Slackware community source of SlackBuilds of high quality. For example, the OOo SlackBuild there is provided courtesy of Robby Workman, a Slacker as trustworthy as Alien Bob.

The site is even mentioned in the Slackware Release Notes:

Quote:

Need more build scripts? Something that you wanted wasn't
included in Slackware? Well, then check out slackbuilds.org.
Several of the team members work on the scripts there.

sahko 09-23-2009 02:18 PM

Quote:

Originally Posted by catkin (Post 3694486)
I prefer to use stock Slackware but do not know how.

That is the best way. Keeping as close to a stock Slackware as possible. You will run into much less problems.
I suggest you visit the IRC ##slackware channel on irc.freenode.net and ask questions there as you go. Its much easier and an immediate way to get replies.
But keep in mind that searching the internet with your favourite search engine will answer most of your questions. Bottom line, you have to help yourself for others to be willing and capable of helping you.

catkin 09-23-2009 04:14 PM

Quote:

Originally Posted by gegechris99 (Post 3694614)
Alien Bob's packages and SlackBuilds are, of course, reliable. Alien Bob can be trusted to provide high-quality packages.

However, I would suggest that if you want to install from a source as close as possible to Slackware, you should try http://www.slackbuilds.org/. This site can be considered as a Slackware community source of SlackBuilds of high quality. For example, the OOo SlackBuild there is provided courtesy of Robby Workman, a Slacker as trustworthy as Alien Bob.

The site is even mentioned in the Slackware Release Notes:

Thanks to all for extra info and bringing me up to speed. I intuitively turned to Alien Bob's packages in preference to SlackBuilds' despite the mention in the release notes because Alien Bob's repository URL is http://slackware.org.uk/people/alien ... somehow that seemed closer to the source (ugh! dreadful wordplay!) than slackbuilds.org. So it's great to get this education.

BTW, I've just got DNSmasq working. When I realised /etc/rc.d/rc.dnsmasq was already installed but without execute permission I smiled -- what a neat way of doing it :)

There's a lot to figure out but I'm liking the Slackware way and liking it better the more I understand it. Hey, vi-mode bash command line editing even works like vi (it doesn't in Gnome-land)!


All times are GMT -5. The time now is 01:01 AM.