Forum Moderators: phranque

Message Too Old, No Replies

FP 2002 & Apache 1.3

Missing "libc.so.3"

         

Total Rookie

2:43 am on Apr 7, 2005 (gmt 0)

10+ Year Member



When installing FP 2002 I get as far as:

will chown web to wally as part of install
will chgrp web to wally as part of install
/usr/libexec/ld-elf.so.1: Shared object "libc.so.3" not found
ERROR: / installation failed
Hit enter to continue

Exiting due to an error! Please fix the error and try again.
I am using freebsd 4.8, apache 1.3 server, and I have:
/usr/libexec/ld-elf.so.1
/usr/lib/libc.so
/usr/lib/libc.so
/usr/lib/libc.so.4
I can't figure out how or where to get "libc.so.3" and then to get in /usr/libexec/ld-elf.so.1. I'm fairly new at this and any assistance provided would be greatly appreciated as I have read and read but no answers to this? Thanks. Oh yea this is a virtual server and supposedly it's ready and supposed to be there.

MattyMoose

8:41 am on Apr 7, 2005 (gmt 0)

10+ Year Member



First off, You're treading down a dangerous path. :)
I'm going to suggest a few things, then down at the end I'm going to provide you with a dirty,dirty hack that may or may not work.

> I am using freebsd 4.8
I'm assuming you haven't cvsup'ed to the latest 4.x-RELEASE? If not, look at [freebsd.org ]
Read the whole thing, and update your source, or if this server is unimportant to you, download and burn the latest 4.10 or 5.3 and install.

That's your best bet, to update everything, since 4.8 was released some time ago, and is relatively out-of-sync.

The other problem is that whatever you're trying to install is specifically looking for libc.so.3, and not libc.so, which usually means that it's not tested for anything other than libc.so.3. That being the case, what I'm about to suggest may screw up whatever program you're running to a screaming halt. The easiest way to test it out to see if it'll work:

 ln -s /lib/libc.so /usr/lib/libc.so.3
ldconfig

That may or may not work for you. Try it out, see what happens.

Oh, and call your hosting company, and tell them what you're running into. If it's something that's supposed to be a part of the package you get, then they should fix it for you.

sitz

9:24 am on Apr 7, 2005 (gmt 0)

10+ Year Member



I'd personally advise against using FP for unix at all; I've adminned a FP/Unix host before (Irix) and, unless things have changed considerably, it's a security nightmare (it's even worse if you're providing FP access for untrusted users (read: customers)). What I ultimately wound up implementing was DAV, via mod_dav (available at [webdav.org ]), and advising my web development team to use an HTML editor which supported the DAV protocol (Macromedia Dreamweaver does; there are others, including a command-line utility called Cadaver [webdav.org]). In a perfect world, you'd have a DAV-enabled Apache instance (or even just a <VirtualHost>) which had write access to the web files, and a a second instance or <VirtualHost> running as a different user so that it can read (but not write to) the files. Something like this:

NameVirtualHost 192.168.1.1:80

<VirtualHost 192.168.1.1:80>
ServerName dav.example.com
User dav-httpd
DAVLockDB /var/apache/DAVLock
<Location />
DAV on
</Location>
(other directives here)
</VirtualHost>

<VirtualHost 192.168.1.1:80>
ServerName www.example.com
ServerAlias example.com
User www
(other directives here)
</VirtualHost>

Total Rookie

3:25 pm on Apr 7, 2005 (gmt 0)

10+ Year Member



Thanks for your replys. I am going to start with the company that is providing the virtual server. They haven't been very helpful to this point. All my questions to them come telling me I'm the sysadmin and to deal with it. But I'll give it a go here first. Thanks again.

Total Rookie

3:17 am on Apr 8, 2005 (gmt 0)

10+ Year Member



Company says they don't provide assistance. My next question before trying the dirty, dirty hack is: Can I cvsup to my domain? I read where it can be a cron task, is that the road I want or should it be via a secure shell? Thanks again, I've got a feeling we are getting shafted by the company, as I had another issue that they owned up to. It confuses a newbie.

sitz

3:44 am on Apr 8, 2005 (gmt 0)

10+ Year Member



All my questions to them come telling me I'm the sysadmin and to deal with it

At this risk of sounding like a smartass, they're right; you get what you pay for. I pay a monthly fee for my own server, and knew going in that the company providing it offered minimal support. That's ok with me, that's all I needed. If you need a managed server, that's probably what you should buy. Or, pay someone to manage the server for you (that will, in the long run, likely be far more expensive than simply buying a managed server). I'm all for learning, and if you want to use this as an opportunity to do so, more power to you. Just don't complain when you get what you pay for. ;)

Total Rookie

10:25 pm on Apr 8, 2005 (gmt 0)

10+ Year Member



Not complaining just confused, when they had it wrong to begin with it gets vague, and being a rookie ya just don't know what's right anymore. I took it on wanting to learn, not make money so I'll press on. Any input on CVSup would be appreciated. I've got my Absolute BSD on hand and raring to go. This is fun,Thanks.

sitz

2:00 am on Apr 9, 2005 (gmt 0)

10+ Year Member



It's been years since I ran a FreeBSD box (not a LOT of years, but still years); if you've got root, you could run cvsup from cron; I generally did it manually, just so I knew when it had been done. 'crontab' has a man page if you need docs on it. (Actually, it has a couple, actually; my linux box has crontab(1) for the command and crontab(5) for the format of the crontab file).

MattyMoose

4:50 pm on Apr 11, 2005 (gmt 0)

10+ Year Member



Like I said in my first post:

[freebsd.org ]

Read the whole thing. It will show you how to use CVSup to maintain your ports and your base system.

The Handbook is your friend [freebsd.org]