ELF interpreter /libexec/ld-elf.so.1 not found

2011-04-27 Thread Len Conrad
FreeBSD in a jail at Johncompanies.com

uname -a
FreeBSD 7.2-RELEASE-p1-jc2 FreeBSD 7.2-RELEASE-p1-jc2 #0: Thu Jun 18 15:16:49 
PDT 2009 Johncompanies.com:/usr/obj/usr/src/sys/jail8  amd64

portstap fetch update

nmap installed with make  make install

nmap a.b.c.d -p 143 -sU

ELF interpreter /libexec/ld-elf.so.1 not found
Abort

locate ld-elf.so.1

/libexec/ld-elf.so.1
/usr/libexec/ld-elf.so.1
/usr/share/man/man1/ld-elf.so.1.1.gz

Len


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/libexec/ld-elf.so.1: Shared boject libpng.so.5 not found

2010-06-20 Thread Caleb Stein
Whenever I try running an application that relies on GTK+ or QT, I get  
that error message.  How should I fix this?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /libexec/ld-elf.so.1: Shared boject libpng.so.5 not found

2010-06-20 Thread Dan Nelson
In the last episode (Jun 20), Caleb Stein said:
 Whenever I try running an application that relies on GTK+ or QT, I get
 that error message.  How should I fix this?

You must have upgraded your libpng port, and either the application or one
of the shared libraries it uses hasn't been rebuilt since then.  libpng.so.6
is the current version.  Run ldd -a myapplication, and rebuild anything
that claims to depend on libpng.so.5.  

One way to minimize damage like this is to use either portupgrade or
portmaster to do updates for you.  Those programs can back up old versions
of shared libraries to /usr/local/lib/compat/pkg, so you won't get errors
like that.  Portupgrade will make a backup automatically, and so will
portmaster if you add -w to the commandline.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /libexec/ld-elf.so.1: Shared boject libpng.so.5 not found

2010-06-20 Thread Bruce Cran
On Monday 21 June 2010 00:57:17 Caleb Stein wrote:
 Whenever I try running an application that relies on GTK+ or QT, I get
 that error message.  How should I fix this?

You must have upgraded libpng at some point and didn't notice or follow the 
instructions in /usr/ports/UPDATING which tells you to rebuild all affected 
ports. It's easy to forget, but then you find random applications start 
breaking.

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


libexec/ld-elf.so.1: Shared object libpng.so.5 not found, required by gnome-session

2010-04-15 Thread Antonio Olivares
Dear folks,

As I was trying to get out of the other mess that I got into.  See thread:

Attachment Re: [ HEADS UP ] Ports unstable for the next 10 day

I have encountered thread subject. i had kde, and kde could not
find it, so I removed KDE and then have added gnome both ways:

pkg_add -r gnome2
and
/usr/ports/..

and ran portmaster -a


and still have error message in Subject line.  I am wondering if I
shot myself in the foot.  I have had previous experience before with
FreeBSD 5.3 and FreeBSD 6.0, but those had KDE 3.5 series and none of
these errors popped up.What should I do?  I am thinking about
reinstalling system?  I can't cure the illness that I have
encountered.

I checked via google and I found:

http://www.opennet.ru/openforum/vsluhforumID15/3041.html

IT is in Russian, but I could follow it someway in the suggestions,
still no joy :(

Advice/Suggestions are welcome.  Should I just go with pulling the
trigger and reinstalling?

System is AMD64, 8.0-RELEASE-p2

Regards,

Antonio

P.S.  I feel bad about doing this, but I have tried for several days
to fix the issues.  I had a working desktop, but then ran the cvsup/?
command(suggested in the other thread) and fix the other issue and
made things worse could not log into KDE and then tried installing
GNOME to at least have a working desktop but not good.  I have two
other machines running FreeBSD 8.0 but no updates, I don't want to
screw up.  The ports used to work well, apparently now things are
different?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: libexec/ld-elf.so.1: Shared object libpng.so.5 not found, required by gnome-session

2010-04-15 Thread Anton Shterenlikht
On Thu, Apr 15, 2010 at 06:49:31PM -0500, Antonio Olivares wrote:
 Dear folks,
 
 As I was trying to get out of the other mess that I got into.  See thread:
 
 Attachment Re: [ HEADS UP ] Ports unstable for the next 10 day
 
 I have encountered thread subject. i had kde, and kde could not
 find it, so I removed KDE and then have added gnome both ways:
 
 pkg_add -r gnome2
 and
 /usr/ports/..
 
 and ran portmaster -a

Have you read /usr/ports/UPDATING entry from 20100328 ?

You'll need to rebuild all ports which depend (directly
or indirectly) on graphics/png. Depending on the number of
such ports it might be easier to delete all ports and
rebuild from scratch. If you use portmaster(1) see the
bottom of the man page for some recommendations.

anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: libexec/ld-elf.so.1: Shared object libpng.so.5 not found, required by gnome-session

2010-04-15 Thread Antonio Olivares
I have rebuilt everything from scratch ran it for several days.  Have
tried it back and forth still get the same thing.  I guess I should
keep trying for a while Till I give up and maybe install 7.3?

I did not read /usr/ports/UPDATING entry from that day, or maybe it
was there but too many things worked apparently except KDE and/or
GNOME :(

Thanks,

Antonio

On 4/15/10, Anton Shterenlikht me...@bristol.ac.uk wrote:
 On Thu, Apr 15, 2010 at 06:49:31PM -0500, Antonio Olivares wrote:
 Dear folks,

 As I was trying to get out of the other mess that I got into.  See thread:

 Attachment Re: [ HEADS UP ] Ports unstable for the next 10 day

 I have encountered thread subject. i had kde, and kde could not
 find it, so I removed KDE and then have added gnome both ways:

 pkg_add -r gnome2
 and
 /usr/ports/..

 and ran portmaster -a

 Have you read /usr/ports/UPDATING entry from 20100328 ?

 You'll need to rebuild all ports which depend (directly
 or indirectly) on graphics/png. Depending on the number of
 such ports it might be easier to delete all ports and
 rebuild from scratch. If you use portmaster(1) see the
 bottom of the man page for some recommendations.

 anton

 --
 Anton Shterenlikht
 Room 2.6, Queen's Building
 Mech Eng Dept
 Bristol University
 University Walk, Bristol BS8 1TR, UK
 Tel: +44 (0)117 331 5944
 Fax: +44 (0)117 929 4423

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: libexec/ld-elf.so.1: Shared object libpng.so.5 not found, required by gnome-session

2010-04-15 Thread Anton Shterenlikht
On Thu, Apr 15, 2010 at 07:11:24PM -0500, Antonio Olivares wrote:
 I have rebuilt everything from scratch ran it for several days.  Have
 tried it back and forth still get the same thing.  I guess I should
 keep trying for a while Till I give up and maybe install 7.3?

I don't think your problem has anything to do with the base OS.
I think this is only related to the ports tree.

 I did not read /usr/ports/UPDATING entry from that day, or maybe it
 was there but too many things worked apparently except KDE and/or
 GNOME :(

well, the png upgrade was painful for all. But all you need is
to rebuild all png-dependent ports. In your example of gnome-session
you can try to find which port installed it and rebuild that port.
Something like

# which gnome-session

or

# find /usr -name gnome-session

should give you the full path to the executable.

Then you can try

# pkg_info -W full path to the executable

this should give you the port name. Try to rebuild
it. If all goes well you are likely to be stopped
at another png-dependent port needing rebuilding.
So you just repeat this process for all such ports.

But as I said, if you have lots of png dependent ports
it might be easier to delete all ports and install them
from scratch. I don't use gnome or kde myself, so can't
advise here.

anton


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: libexec/ld-elf.so.1: Shared object libpng.so.5 not found, required by gnome-session

2010-04-15 Thread Antonio Olivares
Thank you Anton for helping me.

The output of pkg_info -W /usr/local/bin/gnome-session is

pkg_info:  corrupted record (pkgdep line without argument), ignoring
pkg_info:  corrupted record (pkgdep line without argument), ignoring

/usr/local/bin/gnome-session was installed by package gnome-session-2.26.2_1

The ports system report gnome 2.28 while this points to 2.26, is there
anything I can try?

Regards,


Antonio

On 4/15/10, Anton Shterenlikht me...@bristol.ac.uk wrote:
 On Thu, Apr 15, 2010 at 07:11:24PM -0500, Antonio Olivares wrote:
 I have rebuilt everything from scratch ran it for several days.  Have
 tried it back and forth still get the same thing.  I guess I should
 keep trying for a while Till I give up and maybe install 7.3?

 I don't think your problem has anything to do with the base OS.
 I think this is only related to the ports tree.

 I did not read /usr/ports/UPDATING entry from that day, or maybe it
 was there but too many things worked apparently except KDE and/or
 GNOME :(

 well, the png upgrade was painful for all. But all you need is
 to rebuild all png-dependent ports. In your example of gnome-session
 you can try to find which port installed it and rebuild that port.
 Something like

 # which gnome-session

 or

 # find /usr -name gnome-session

 should give you the full path to the executable.

 Then you can try

 # pkg_info -W full path to the executable

 this should give you the port name. Try to rebuild
 it. If all goes well you are likely to be stopped
 at another png-dependent port needing rebuilding.
 So you just repeat this process for all such ports.

 But as I said, if you have lots of png dependent ports
 it might be easier to delete all ports and install them
 from scratch. I don't use gnome or kde myself, so can't
 advise here.

 anton


 --
 Anton Shterenlikht
 Room 2.6, Queen's Building
 Mech Eng Dept
 Bristol University
 University Walk, Bristol BS8 1TR, UK
 Tel: +44 (0)117 331 5944
 Fax: +44 (0)117 929 4423

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/libexec/ld-elf.so.1: /usr/local/lib/libssl.so.6: Undefined symbol EVP_idea_cbc

2010-01-29 Thread Ronny Forberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

my FreeBSD seems to be broken, since I get the following error when
trying to link against libssl etc:

/libexec/ld-elf.so.1: /usr/local/lib/libssl.so.6: Undefined symbol
EVP_idea_cbc

I am using openssl-0.9.8k_5 from the base system 8.0.

uname -a = FreeBSD sonne.rf.homeunix.net 8.0-RELEASE FreeBSD
8.0-RELEASE #0: Fri Dec  4 21:26:46 CET 2009
r...@sonne.rf.homeunix.net:/usr/obj/usr/src/sys/GENERIC  amd64

Can you help me ? Any further info I will provide.

Thanks,
Ronny

- --
___
Ronny Forberger
ronnyforberger at ronnyforberger.de
PGP public key:
http://www.ronnyforberger.de/~rf/wwwroot/pgp/0x71AE1E17.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktjNvkACgkQC1+bGHGuHhfVGQCgjKoWYsGjKnGGpxnx4MzwImqw
ES8AnixZdHvvAgJWDS6AWcD9NhYbIiZJ
=mrAj
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /libexec/ld-elf.so.1: /usr/local/lib/libssl.so.6: Undefined symbol EVP_idea_cbc

2010-01-29 Thread Chuck Swiger
Hi--

On Jan 29, 2010, at 11:29 AM, Ronny Forberger wrote:
 my FreeBSD seems to be broken, since I get the following error when
 trying to link against libssl etc:
 
 /libexec/ld-elf.so.1: /usr/local/lib/libssl.so.6: Undefined symbol
 EVP_idea_cbc
 
 I am using openssl-0.9.8k_5 from the base system 8.0.

Actually, the base system OpenSSL would be located at /usr/lib/libssl.so.# ; 
the error message you display there indicates that you've got another 
installation of OpenSSL under /usr/local.  Running:

  pkg_which /usr/local/lib/libssl.so.6

...might indicate whether you installed it from a port, in which case updating 
ports and rebuilding it would likely help.

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /libexec/ld-elf.so.1: /usr/local/lib/libssl.so.6: Undefined symbol EVP_idea_cbc

2010-01-29 Thread Ronny Forberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chuck Swiger schrieb:
 Hi--

 On Jan 29, 2010, at 11:29 AM, Ronny Forberger wrote:
 my FreeBSD seems to be broken, since I get the following error
 when trying to link against libssl etc:

 /libexec/ld-elf.so.1: /usr/local/lib/libssl.so.6: Undefined
 symbol EVP_idea_cbc

 I am using openssl-0.9.8k_5 from the base system 8.0.

 Actually, the base system OpenSSL would be located at
 /usr/lib/libssl.so.# ; the error message you display there
 indicates that you've got another installation of OpenSSL under
 /usr/local.  Running:

 pkg_which /usr/local/lib/libssl.so.6

 ...might indicate whether you installed it from a port, in which
 case updating ports and rebuilding it would likely help.

 Regards,
Thanks for the help. I installed from a binary package using pkg_add
- -r openssl since I cannot build openssl from ports:

[r...@sonne ~]# portupgrade -f openssl
** Port marked as IGNORE: security/openssl:
is marked as broken: No patchset for 0.9.8
** Listing the failed packages (-:ignored / *:skipped / !:failed)
- security/openssl (marked as IGNORE)

(Using RELEASE_8_0_0)

I dont really want to upgrade to Freebsd-current Ports. How can I fix
the missing symbol error then?

Cheers,

- --
___
Ronny Forberger
ronnyforberger at ronnyforberger.de
PGP public key:
http://www.ronnyforberger.de/~rf/wwwroot/pgp/0x71AE1E17.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktjQ5AACgkQC1+bGHGuHhfGzQCfUqEyRtF1GSxV1JnlO5DEZcNT
aKcAnjwjEOWRWqjem44FDtPy5P2MbO45
=sKHQ
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /libexec/ld-elf.so.1: /usr/local/lib/libssl.so.6: Undefined symbol EVP_idea_cbc

2010-01-29 Thread Chuck Swiger
On Jan 29, 2010, at 12:22 PM, Ronny Forberger wrote:
 Thanks for the help. I installed from a binary package using pkg_add
 - -r openssl since I cannot build openssl from ports:
 
 [r...@sonne ~]# portupgrade -f openssl
 ** Port marked as IGNORE: security/openssl:
 is marked as broken: No patchset for 0.9.8
 ** Listing the failed packages (-:ignored / *:skipped / !:failed)
 - security/openssl (marked as IGNORE)
 
 (Using RELEASE_8_0_0)
 
 I dont really want to upgrade to Freebsd-current Ports. How can I fix the 
 missing symbol error then?

Delete the broken OpenSSL port and use OpenSSL from the base system instead.  
Anything which is trying to use the /usr/local/lib version will have to be 
recompiled

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/libexec/ld-elf.so.1: /usr/local/bin/postgres: Undefined symbol shmctl

2009-12-17 Thread Reggie Euser

Have been running FreeBSD 7.1 for months with PostgreSQL 8.3. All fine.

Today, made a change to hosts.allow to add an IP address for FTP access. 
Rebooted and attempted to restart PostgreSQL. Postgres wouldn't start and 
left this error in the log file:


/libexec/ld-elf.so.1: /usr/local/bin/postgres: Undefined symbol shmctl

Have Googled  IRC'd with no luck. Any suggestions or ideas about how to fix 
would be greatly appreciated!


Thanks! 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /libexec/ld-elf.so.1: /usr/local/bin/postgres: Undefined symbol shmctl

2009-12-17 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Reggie Euser wrote:
 Have been running FreeBSD 7.1 for months with PostgreSQL 8.3. All fine.
 
 Today, made a change to hosts.allow to add an IP address for FTP access.
 Rebooted and attempted to restart PostgreSQL. Postgres wouldn't start
 and left this error in the log file:
 
 /libexec/ld-elf.so.1: /usr/local/bin/postgres: Undefined symbol shmctl
 
 Have Googled  IRC'd with no luck. Any suggestions or ideas about how to
 fix would be greatly appreciated!
 
 Thanks!

Hi Reggie,

Have you upgraded your system with freebsd-update or csup recently?  Did
you install PostgreSQL from a binary package or build it in the ports tree?

This is a thread from someone with the same problem, although a
different application: http://forums.freebsd.org/showthread.php?t=6661

It sounds like a fresh rebuild from the ports tree might fix the
problem, but YMMV.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLKuPA0sRouByUApARAuRKAJ9QiaXdVXBCRJAz7b6IMfxnryAPQACcC+kP
TNjkV1uqamolmrY0+2W8brc=
=Ewsl
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Accidentally moved /libexec/ld-elf.so.1

2009-08-21 Thread Stew Houston
I appreciate the help thus far; as /rescue/csh in single user mode has moved
me past my first hurdle.  However, being the blundering newbie I am, I was
working in the /tmp directory, which seems to have been cleared (or is empty
for whatever reason in the current state.)  If it has been wiped, my
ld-elf.so.1 file has been wiped with it.  What to do?

Thanks much

Stew

On Fri, Aug 21, 2009 at 1:24 AM, Mel Flynn 
mel.flynn+fbsd.questi...@mailing.thruhere.netmel.flynn%2bfbsd.questi...@mailing.thruhere.net
 wrote:

 On Thursday 20 August 2009 18:44:12 Stew Houston wrote:
  Setting up a chroot jail I accidentally moved /libexec/ld-elf.so.1
 instead
  of copying it.  Bash would no longer take any commands, though I can't
  remember the error I was getting (it was aborting.)  I rebooted, hoping I
  could do something in Single User Mode; but to no avail.  Is there a way
 I
  can undo this blunder?

 /rescue/mv /path/to/jail/libexec/ld-elf.so.1 /libexec/
 --
 Mel

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Accidentally moved /libexec/ld-elf.so.1

2009-08-21 Thread Glen Barber
On Fri, Aug 21, 2009 at 7:28 PM, Stew Houstonstewhous...@gmail.com wrote:
 I appreciate the help thus far; as /rescue/csh in single user mode has moved
 me past my first hurdle.  However, being the blundering newbie I am, I was
 working in the /tmp directory, which seems to have been cleared (or is empty
 for whatever reason in the current state.)  If it has been wiped, my
 ld-elf.so.1 file has been wiped with it.  What to do?


You'll have to mount /tmp to use it.  On my system, /tmp is
/dev/ad6s1e - yours may vary.

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Accidentally moved /libexec/ld-elf.so.1

2009-08-21 Thread Polytropon
On Fri, 21 Aug 2009 19:28:47 -0400, Stew Houston stewhous...@gmail.com wrote:
 However, being the blundering newbie I am, I was
 working in the /tmp directory, which seems to have been cleared (or is empty
 for whatever reason in the current state.) 

Cleaning the /tmp directory at startup usually is controlled
via an /etc/rc.conf setting: it's clear_tmp_enable=YES.

As far as I got from searching for ld-elf related stuff,
a command like

# cd /usr/src/libexec/rtld-elf
# make install

could do the trick. But I haven't checked this, and I am
not sure.



 If it has been wiped, my
 ld-elf.so.1 file has been wiped with it.  What to do?

If your source tree is still intact, you could install it from
there.

It may be possible that the system doesn't run well enough to
perform this task. In such a case a live file system could help
you, e. g. the FreeBSD rescue system or a FreeSBIE bootable CD.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Accidentally moved /libexec/ld-elf.so.1

2009-08-21 Thread Polytropon
Replying to my own message in order to clarify:

On Sat, 22 Aug 2009 01:53:43 +0200, Polytropon free...@edvax.de wrote:
 On Fri, 21 Aug 2009 19:28:47 -0400, Stew Houston stewhous...@gmail.com 
 wrote:
  However, being the blundering newbie I am, I was
  working in the /tmp directory, which seems to have been cleared (or is empty
  for whatever reason in the current state.) 
 
 Cleaning the /tmp directory at startup usually is controlled
 via an /etc/rc.conf setting: it's clear_tmp_enable=YES.

As Glen suggested: If /tmp resides on its own partition, it could
still be intact. So mount /tmp and copy the file:

# mount /tmp
# cp /tmp/ld-elf.so.1 /libexec



 As far as I got from searching for ld-elf related stuff,
 a command like
 
   # cd /usr/src/libexec/rtld-elf
   # make install
 
 could do the trick. But I haven't checked this, and I am
 not sure.

I checked now. The make command produces ld-elf.so.1, at least
on my system. If make install doesn't work correctly, copy
the file manually.

# cd /usr/src/libexec/rtld-elf
# make
# cp ld-elf.so.1 /libexec

Of course, you will need to have /usr mounted if it's not on
the / partition.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Accidentally moved /libexec/ld-elf.so.1

2009-08-21 Thread Steve Bertrand
Polytropon wrote:
 Replying to my own message in order to clarify:
 
 On Sat, 22 Aug 2009 01:53:43 +0200, Polytropon free...@edvax.de wrote:
 On Fri, 21 Aug 2009 19:28:47 -0400, Stew Houston stewhous...@gmail.com 
 wrote:
 However, being the blundering newbie I am, I was
 working in the /tmp directory, which seems to have been cleared (or is empty
 for whatever reason in the current state.) 
 Cleaning the /tmp directory at startup usually is controlled
 via an /etc/rc.conf setting: it's clear_tmp_enable=YES.
 
 As Glen suggested: If /tmp resides on its own partition, it could
 still be intact. So mount /tmp and copy the file:
 
   # mount /tmp
   # cp /tmp/ld-elf.so.1 /libexec
 
 
 
 As far as I got from searching for ld-elf related stuff,
 a command like

  # cd /usr/src/libexec/rtld-elf
  # make install

 could do the trick. But I haven't checked this, and I am
 not sure.
 
 I checked now. The make command produces ld-elf.so.1, at least
 on my system. If make install doesn't work correctly, copy
 the file manually.
 
   # cd /usr/src/libexec/rtld-elf
   # make
   # cp ld-elf.so.1 /libexec
 
 Of course, you will need to have /usr mounted if it's not on
 the / partition.

I don't know if it will help or not, but here is a link to the file in
question.

If all of the other great recommendations don't pan out, you may be able
to boot from some form of 'live cd', and then fetch the file into place.

http://www.ipv6canada.com/ld-elf.so.1

% mount /dev/ad0s1a /mnt # where ad0s1a is your / on the hard disk
% cd /mnt/libexec
% fetch http://www.ipv6canada.com/ld-elf.so.1
% reboot

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Accidentally moved /libexec/ld-elf.so.1

2009-08-21 Thread Stew Houston
Thank you all for the wonderful help.  I've recovered the file and the
system is fully operational.  The solution that worked was:

Single User Mode
/rescue/sh
/rescue/mount /
/rescue/mount /tmp
/rescue/mv /tmp/libexec/ld-elf.so.1 /libexec

As I spent my entire youth on Windows, I can honestly say this is the first
time this type scenario didn't end in reformatting.  FreeBSD is rockin'

Stew

On Fri, Aug 21, 2009 at 8:15 PM, Steve Bertrand st...@ibctech.ca wrote:

 Polytropon wrote:
  Replying to my own message in order to clarify:
 
  On Sat, 22 Aug 2009 01:53:43 +0200, Polytropon free...@edvax.de wrote:
  On Fri, 21 Aug 2009 19:28:47 -0400, Stew Houston stewhous...@gmail.com
 wrote:
  However, being the blundering newbie I am, I was
  working in the /tmp directory, which seems to have been cleared (or is
 empty
  for whatever reason in the current state.)
  Cleaning the /tmp directory at startup usually is controlled
  via an /etc/rc.conf setting: it's clear_tmp_enable=YES.
 
  As Glen suggested: If /tmp resides on its own partition, it could
  still be intact. So mount /tmp and copy the file:
 
# mount /tmp
# cp /tmp/ld-elf.so.1 /libexec
 
 
 
  As far as I got from searching for ld-elf related stuff,
  a command like
 
   # cd /usr/src/libexec/rtld-elf
   # make install
 
  could do the trick. But I haven't checked this, and I am
  not sure.
 
  I checked now. The make command produces ld-elf.so.1, at least
  on my system. If make install doesn't work correctly, copy
  the file manually.
 
# cd /usr/src/libexec/rtld-elf
# make
# cp ld-elf.so.1 /libexec
 
  Of course, you will need to have /usr mounted if it's not on
  the / partition.

 I don't know if it will help or not, but here is a link to the file in
 question.

 If all of the other great recommendations don't pan out, you may be able
 to boot from some form of 'live cd', and then fetch the file into place.

 http://www.ipv6canada.com/ld-elf.so.1

 % mount /dev/ad0s1a /mnt # where ad0s1a is your / on the hard disk
 % cd /mnt/libexec
 % fetch http://www.ipv6canada.com/ld-elf.so.1
 % reboot

 Steve

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Accidentally moved /libexec/ld-elf.so.1

2009-08-20 Thread Stew Houston
Setting up a chroot jail I accidentally moved /libexec/ld-elf.so.1 instead
of copying it.  Bash would no longer take any commands, though I can't
remember the error I was getting (it was aborting.)  I rebooted, hoping I
could do something in Single User Mode; but to no avail.  Is there a way I
can undo this blunder?

Stew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Accidentally moved /libexec/ld-elf.so.1

2009-08-20 Thread Glen Barber
On Thu, Aug 20, 2009 at 10:44 PM, Stew Houstonstewhous...@gmail.com wrote:
 Setting up a chroot jail I accidentally moved /libexec/ld-elf.so.1 instead
 of copying it.  Bash would no longer take any commands, though I can't
 remember the error I was getting (it was aborting.)  I rebooted, hoping I
 could do something in Single User Mode; but to no avail.  Is there a way I
 can undo this blunder?


When entering single user mode, you should be prompted with an option
to select a shell.  You should be able to use /bin/csh.  Worst case,
you can use /rescue/csh.

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Accidentally moved /libexec/ld-elf.so.1

2009-08-20 Thread Mel Flynn
On Thursday 20 August 2009 18:44:12 Stew Houston wrote:
 Setting up a chroot jail I accidentally moved /libexec/ld-elf.so.1 instead
 of copying it.  Bash would no longer take any commands, though I can't
 remember the error I was getting (it was aborting.)  I rebooted, hoping I
 could do something in Single User Mode; but to no avail.  Is there a way I
 can undo this blunder?

/rescue/mv /path/to/jail/libexec/ld-elf.so.1 /libexec/
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /libexec/ld-elf.so.1: /usr/local/lib/libcairo.so.2: Undefined symbol pixman_region32_init

2009-04-22 Thread Chris Rees
2009/4/13 firm...@gmail.com firm...@gmail.com:
 Hi,

 After installing Freebsd 7.1 with this as my uname -a:
 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0

 And then updating the ports, and doing the following:

 pkg_add -r xorg
 pkg_add -r blackbox
 pkg_add -r firefox3

 I can start blackbox fine, but when I try to launch, say, firefox I get
 this:

 /libexec/ld-elf.so.1: /usr/local/lib/libcairo.so.2: Undefined symbol
 pixman_region32_init

 Any ideas?  I have no clue, and searching the web turns up nothing.

Try installing Firefox from ports (compiling from source). Does that
throw up an error?

Chris




-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /libexec/ld-elf.so.1: /usr/local/lib/libcairo.so.2: Undefined symbol pixman_region32_init

2009-04-22 Thread Adam Vandemore

firm...@gmail.com wrote:

Hi,

After installing Freebsd 7.1 with this as my uname -a:
7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0
  

That could be a problem.  That should read something like:

7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #3

You might try updating to 7.1 release or if you're tracking STABLE 
update to that.  Then uname will show something like:


7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #3

AFAIK, the firefox3 pkg is built against 7.1R so that may be related to 
your problem.




--
Adam Vandemore
Systems Administrator
IMED Mobility
(605) 498-1610

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /libexec/ld-elf.so.1: /usr/local/lib/libcairo.so.2: Undefined symbol pixman_region32_init

2009-04-22 Thread firm...@gmail.com
ThanksI will upgrade.  But in the meantime I reinstalled the cairo and
pixman ports
and now I can launch applications like firefox and thunderbird.  All good
now!

On Wed, Apr 22, 2009 at 1:03 PM, Adam Vandemore amvandem...@gmail.comwrote:

 firm...@gmail.com wrote:

 Hi,

 After installing Freebsd 7.1 with this as my uname -a:
 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0


 That could be a problem.  That should read something like:

 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #3

 You might try updating to 7.1 release or if you're tracking STABLE update
 to that.  Then uname will show something like:

 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #3

 AFAIK, the firefox3 pkg is built against 7.1R so that may be related to
 your problem.



 --
 Adam Vandemore
 Systems Administrator
 IMED Mobility
 (605) 498-1610


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Sudden /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by errors

2009-04-22 Thread Agus
Thanks a lot guys Really dunno what happened with those files...
They were 444 perms not modified for long... but well now i
reinstalled bash form ports and went ok.

Thanks guys for your time...

2009/4/21 Michael Powell nightre...@verizon.net:
 Agus wrote:

 [snip]
 What is the output of ldconfig -r ?



 Sorry for the delay.. was too busyy...

 No output... just this

 ldconfig -r
 /var/run/ld-elf.so.hints:
 search directories:


 Sounds like the hints file is missing or damaged. These live here:
 /var/run/ld.so.hints for a.out and /var/run/ld-elf.so.hints for elf format.
 Look and see if these are present, and possibly consider deleting them and
 regenerating due to the possibility they are damaged. As root the command
 ldconfig -aout will do the first (probably not needed as that format is
 deprecated) and ldconfig -elf will do the second.

 -Mike




 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Sudden /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by errors

2009-04-21 Thread Agus
2009/4/14 Ruben de Groot mai...@bzerk.org:
 On Fri, Apr 10, 2009 at 08:40:51PM -0300, Agus typed:
 Hi guys,

 Yesterday i suddenly start receiving this errors... first i noticed it
 cause i couldnt login and bash threw it.. then su...

 /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by 
 -su

 Then i remove bash and change to tcsh and was ok... but then again,
 this one when using sendmail..

 /libexec/ld-elf.so.1: Shared object libsasl2.so.2 not found,
 required by send-mail


 I didnt update anything... and it was all running fine for months...
 what can it be? the files i have are..

 -rwxr-xr-x  1 root  wheel    92K Mar 11 15:26 libsasl2.so.2
 lrwxr-xr-x  1 root  wheel    13B Mar 11 15:26 libsasl2.so - libsasl2.so.2

 -r--r--r--  1 root  wheel    39K Aug 23  2008 libintl.so.8
 lrwxr-xr-x  1 root  wheel    12B Aug 23  2008 libintl.so - libintl.so.8

 What is the output of ldconfig -r ?



Sorry for the delay.. was too busyy...

No output... just this

ldconfig -r
/var/run/ld-elf.so.hints:
search directories:

Thanksss,
Agustin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Sudden /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by errors

2009-04-21 Thread Mel Flynn
On Tuesday 21 April 2009 19:33:37 Agus wrote:
 2009/4/14 Ruben de Groot mai...@bzerk.org:
  On Fri, Apr 10, 2009 at 08:40:51PM -0300, Agus typed:
  Hi guys,
 
  Yesterday i suddenly start receiving this errors... first i noticed it
  cause i couldnt login and bash threw it.. then su...
 
  /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required
  by -su
 
  Then i remove bash and change to tcsh and was ok... but then again,
  this one when using sendmail..
 
  /libexec/ld-elf.so.1: Shared object libsasl2.so.2 not found,
  required by send-mail
 
 
  I didnt update anything... and it was all running fine for months...
  what can it be? the files i have are..
 
  -rwxr-xr-x  1 root  wheel92K Mar 11 15:26 libsasl2.so.2
  lrwxr-xr-x  1 root  wheel13B Mar 11 15:26 libsasl2.so -
  libsasl2.so.2
 
  -r--r--r--  1 root  wheel39K Aug 23  2008 libintl.so.8
  lrwxr-xr-x  1 root  wheel12B Aug 23  2008 libintl.so - libintl.so.8
 
  What is the output of ldconfig -r ?

 Sorry for the delay.. was too busyy...

 No output... just this

 ldconfig -r
 /var/run/ld-elf.so.hints:
   search directories:

Possible causes:
/var/run/ld-elf.so.hints is reduced to 0 by program foo, operator bar or 
hacker baz.
You or operator bar ran ldconfig -s without arguments.

/rescue/ldconfig /lib
/etc/rc.d/ldconfig start

Should get you back up and running.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Sudden /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by errors

2009-04-21 Thread Michael Powell
Agus wrote:

[snip]
 What is the output of ldconfig -r ?


 
 Sorry for the delay.. was too busyy...
 
 No output... just this
 
 ldconfig -r
 /var/run/ld-elf.so.hints:
 search directories:
 

Sounds like the hints file is missing or damaged. These live here: 
/var/run/ld.so.hints for a.out and /var/run/ld-elf.so.hints for elf format. 
Look and see if these are present, and possibly consider deleting them and 
regenerating due to the possibility they are damaged. As root the command 
ldconfig -aout will do the first (probably not needed as that format is 
deprecated) and ldconfig -elf will do the second. 

-Mike




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Sudden /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by errors

2009-04-14 Thread Ruben de Groot
On Fri, Apr 10, 2009 at 08:40:51PM -0300, Agus typed:
 Hi guys,
 
 Yesterday i suddenly start receiving this errors... first i noticed it
 cause i couldnt login and bash threw it.. then su...
 
 /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by 
 -su
 
 Then i remove bash and change to tcsh and was ok... but then again,
 this one when using sendmail..
 
 /libexec/ld-elf.so.1: Shared object libsasl2.so.2 not found,
 required by send-mail
 
 
 I didnt update anything... and it was all running fine for months...
 what can it be? the files i have are..
 
 -rwxr-xr-x  1 root  wheel92K Mar 11 15:26 libsasl2.so.2
 lrwxr-xr-x  1 root  wheel13B Mar 11 15:26 libsasl2.so - libsasl2.so.2
 
 -r--r--r--  1 root  wheel39K Aug 23  2008 libintl.so.8
 lrwxr-xr-x  1 root  wheel12B Aug 23  2008 libintl.so - libintl.so.8

What is the output of ldconfig -r ?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/libexec/ld-elf.so.1: /usr/local/lib/libcairo.so.2: Undefined symbol pixman_region32_init

2009-04-12 Thread firm...@gmail.com
Hi,

After installing Freebsd 7.1 with this as my uname -a:
7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0

And then updating the ports, and doing the following:

pkg_add -r xorg
pkg_add -r blackbox
pkg_add -r firefox3

I can start blackbox fine, but when I try to launch, say, firefox I get
this:

/libexec/ld-elf.so.1: /usr/local/lib/libcairo.so.2: Undefined symbol
pixman_region32_init

Any ideas?  I have no clue, and searching the web turns up nothing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Sudden /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by errors

2009-04-11 Thread Agus
2009/4/11 gabe g johndoeismyn...@gmail.com:


 On Fri, Apr 10, 2009 at 7:40 PM, Agus agus@gmail.com wrote:

 Hi guys,

 Yesterday i suddenly start receiving this errors... first i noticed it
 cause i couldnt login and bash threw it.. then su...

 /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by
 -su

 Then i remove bash and change to tcsh and was ok... but then again,
 this one when using sendmail..

 /libexec/ld-elf.so.1: Shared object libsasl2.so.2 not found,
 required by send-mail


 I didnt update anything... and it was all running fine for months...
 what can it be? the files i have are..

 -rwxr-xr-x  1 root  wheel    92K Mar 11 15:26 libsasl2.so.2
 lrwxr-xr-x  1 root  wheel    13B Mar 11 15:26 libsasl2.so - libsasl2.so.2

 -r--r--r--  1 root  wheel    39K Aug 23  2008 libintl.so.8
 lrwxr-xr-x  1 root  wheel    12B Aug 23  2008 libintl.so - libintl.so.8



 I really dont know what is happening  thanks to anyone who can
 clariffy this... I really dont know what /libexec/ld-elf.so.1 is
 doing?
 I figure that the binarys complaining arent findind this libs... i
 really dunno...

 Thanks a lot in advance...

 Also i mention that this is a public server where i offer free shell
 services  i dont think a normal/unprivileged user could have done
 mess with it right?

 Cheers,
 Agustin
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

 Don't clog your system with symlinks, look at the manpage for libmap.conf
 (man libmap.conf) or
 http://www.freebsd.org/cgi/man.cgi?query=libmap.confmanpath=FreeBSD+7.1-RELEASE
 .

 Good luck,
 Gabe



Will read that... thanks :)

Yes.. i remember i had forgotten the version of the OS once i sent it...

im running

FreeBSD everest 6.3-RELEASE-p5 FreeBSD 6.3-RELEASE-p5 #0: Thu Oct  9
13:54:44 ART 2008  :/usr/obj/usr/src/sys/KEVEREST-6.3  i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Sudden /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by errors

2009-04-10 Thread Agus
Hi guys,

Yesterday i suddenly start receiving this errors... first i noticed it
cause i couldnt login and bash threw it.. then su...

/libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by -su

Then i remove bash and change to tcsh and was ok... but then again,
this one when using sendmail..

/libexec/ld-elf.so.1: Shared object libsasl2.so.2 not found,
required by send-mail


I didnt update anything... and it was all running fine for months...
what can it be? the files i have are..

-rwxr-xr-x  1 root  wheel92K Mar 11 15:26 libsasl2.so.2
lrwxr-xr-x  1 root  wheel13B Mar 11 15:26 libsasl2.so - libsasl2.so.2

-r--r--r--  1 root  wheel39K Aug 23  2008 libintl.so.8
lrwxr-xr-x  1 root  wheel12B Aug 23  2008 libintl.so - libintl.so.8



I really dont know what is happening  thanks to anyone who can
clariffy this... I really dont know what /libexec/ld-elf.so.1 is
doing?
I figure that the binarys complaining arent findind this libs... i
really dunno...

Thanks a lot in advance...

Also i mention that this is a public server where i offer free shell
services  i dont think a normal/unprivileged user could have done
mess with it right?

Cheers,
Agustin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Sudden /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by errors

2009-04-10 Thread Tamouh Hakmi
You'd need to provide us with more details as your version #, what are you 
running...etc.

Try to ln -s to libintl.so.8 from other directories as well  such as 
/usr/libexec and /usr/local/libexec

Tamouh 

 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Agus
 Sent: April 10, 2009 7:41 PM
 To: FreeBSD Questions
 Subject: Sudden /libexec/ld-elf.so.1: Shared object 
 libintl.so.8 not found,required by errors
 
 Hi guys,
 
 Yesterday i suddenly start receiving this errors... first i 
 noticed it cause i couldnt login and bash threw it.. then su...
 
 /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, 
 required by -su
 
 Then i remove bash and change to tcsh and was ok... but 
 then again, this one when using sendmail..
 
 /libexec/ld-elf.so.1: Shared object libsasl2.so.2 not 
 found, required by send-mail
 
 
 I didnt update anything... and it was all running fine for months...
 what can it be? the files i have are..
 
 -rwxr-xr-x  1 root  wheel92K Mar 11 15:26 libsasl2.so.2
 lrwxr-xr-x  1 root  wheel13B Mar 11 15:26 libsasl2.so - 
 libsasl2.so.2
 
 -r--r--r--  1 root  wheel39K Aug 23  2008 libintl.so.8
 lrwxr-xr-x  1 root  wheel12B Aug 23  2008 libintl.so - 
 libintl.so.8
 
 
 
 I really dont know what is happening  thanks to anyone 
 who can clariffy this... I really dont know what 
 /libexec/ld-elf.so.1 is doing?
 I figure that the binarys complaining arent findind this 
 libs... i really dunno...
 
 Thanks a lot in advance...
 
 Also i mention that this is a public server where i offer 
 free shell services  i dont think a normal/unprivileged 
 user could have done mess with it right?
 
 Cheers,
 Agustin
 ___
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Sudden /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by errors

2009-04-10 Thread gabe g
On Fri, Apr 10, 2009 at 7:40 PM, Agus agus@gmail.com wrote:

 Hi guys,

 Yesterday i suddenly start receiving this errors... first i noticed it
 cause i couldnt login and bash threw it.. then su...

 /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by
 -su

 Then i remove bash and change to tcsh and was ok... but then again,
 this one when using sendmail..

 /libexec/ld-elf.so.1: Shared object libsasl2.so.2 not found,
 required by send-mail


 I didnt update anything... and it was all running fine for months...
 what can it be? the files i have are..

 -rwxr-xr-x  1 root  wheel92K Mar 11 15:26 libsasl2.so.2
 lrwxr-xr-x  1 root  wheel13B Mar 11 15:26 libsasl2.so - libsasl2.so.2

 -r--r--r--  1 root  wheel39K Aug 23  2008 libintl.so.8
 lrwxr-xr-x  1 root  wheel12B Aug 23  2008 libintl.so - libintl.so.8



 I really dont know what is happening  thanks to anyone who can
 clariffy this... I really dont know what /libexec/ld-elf.so.1 is
 doing?
 I figure that the binarys complaining arent findind this libs... i
 really dunno...

 Thanks a lot in advance...

 Also i mention that this is a public server where i offer free shell
 services  i dont think a normal/unprivileged user could have done
 mess with it right?

 Cheers,
 Agustin
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


Don't clog your system with symlinks, look at the manpage for libmap.conf
(man libmap.conf) or
http://www.freebsd.org/cgi/man.cgi?query=libmap.confmanpath=FreeBSD+7.1-RELEASE.

Good luck,
Gabe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /libexec/ld-elf.so.1: Shared object libxcb.so.1 not found, required by libcairo.so.2

2009-03-11 Thread Matthew Seaman

Noah wrote:

Robert Huff wrote:

Noah writes:

 rebuilding emacs using portupgrade is dying and claiming I am 
missing a  library.  What shall I do?
 
 /libexec/ld-elf.so.1: Shared object libxcb.so.1 not found,

 required by libcairo.so.2


Have you:
1) updated your whole ports tree?
2) read /usr/ports/UPDATING?




Sure Robert,

This is what I do to update the whole ports tree.  Am I missing something?


1) use cvsup and get the entire ports
2) cd /usr/ports  make index
3) cd /usr/ports  make fetchindex


Do one of 2 or 3 -- not both.


4) /usr/local/sbin/portsdb -Uu
5) /usr/local/sbin/pkgdb -fu



Yeah.  You need to read /usr/ports/UPDATING and act on the 20090123
entry for x11/libxcb.  You'ld know if you had carried out the
instructions because it would have reinstalled just about everything X
related on your system.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


/libexec/ld-elf.so.1: Shared object libxcb.so.1 not found, required by libcairo.so.2

2009-03-10 Thread Noah

Hi there,

rebuilding emacs using portupgrade is dying and claiming I am missing a 
library.  What shall I do?



/libexec/ld-elf.so.1: Shared object libxcb.so.1 not found, required by 
libcairo.so.2


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/libexec/ld-elf.so.1: Shared object libxcb.so.1 not found, required by libcairo.so.2

2009-03-10 Thread Robert Huff
Noah writes:

  rebuilding emacs using portupgrade is dying and claiming I am missing a 
  library.  What shall I do?
  
  /libexec/ld-elf.so.1: Shared object libxcb.so.1 not found,
  required by libcairo.so.2

Have you:
1) updated your whole ports tree?
2) read /usr/ports/UPDATING?


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /libexec/ld-elf.so.1: Shared object libxcb.so.1 not found, required by libcairo.so.2

2009-03-10 Thread Noah

Robert Huff wrote:

Noah writes:

 rebuilding emacs using portupgrade is dying and claiming I am missing a 
 library.  What shall I do?
 
 /libexec/ld-elf.so.1: Shared object libxcb.so.1 not found,

 required by libcairo.so.2


Have you:
1) updated your whole ports tree?
2) read /usr/ports/UPDATING?




Sure Robert,

This is what I do to update the whole ports tree.  Am I missing something?


1) use cvsup and get the entire ports
2) cd /usr/ports  make index
3) cd /usr/ports  make fetchindex
4) /usr/local/sbin/portsdb -Uu
5) /usr/local/sbin/pkgdb -fu




Robert Huff


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /libexec/ld-elf.so.1: Shared object libxcb.so.1 not found, required by libcairo.so.2

2009-03-10 Thread Robert Huff
Noah writes:

  1) use cvsup and get the entire ports
  2) cd /usr/ports  make index
  3) cd /usr/ports  make fetchindex

Ummm ... it is my understanding that not only will (3)
overwrite (2), but it will often resulr in a less current INDEX.


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/libexec/ld-elf.so.1: Shared object libgcrypt.so.15 not found, required by libgs.so.8

2009-01-12 Thread Anton Shterenlikht
I get this error in /var/spool/lpd/my printer:

/libexec/ld-elf.so.1: Shared object libgcrypt.so.15 not found, required by 
libgs.so.8

I use apsfilter, so I guess this must be something to do with ghostscript?

Any advice?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /libexec/ld-elf.so.1: Shared object libgcrypt.so.15 not found, required by libgs.so.8

2009-01-12 Thread Julien Cigar
vim /usr/ports/UPDATING: 

20090107:
  AFFECTS: users of security/libgcrypt
  AUTHOR: ra...@freebsd.org

  libgcrypt has been upgraded to 1.4.3 which has a shared library
  version bump. You need to reinstall all ports depending on it.
  Use something like this:

  portupgrade -rf libgcrypt
  portmaster -r libgcrypt

should be that ..

On Mon, 2009-01-12 at 14:23 +, Anton Shterenlikht wrote:
 I get this error in /var/spool/lpd/my printer:
 
 /libexec/ld-elf.so.1: Shared object libgcrypt.so.15 not found, required by 
 libgs.so.8
 
 I use apsfilter, so I guess this must be something to do with ghostscript?
 
 Any advice?
 
 many thanks
 anton
 
-- 
Julien Cigar
Belgian Biodiversity Platform
http://www.biodiversity.be
Université Libre de Bruxelles (ULB)
Campus de la Plaine CP 257
Bâtiment NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entrée ULB 2
B-1050 Bruxelles
Mail: jci...@ulb.ac.be
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5

2007-11-04 Thread Kris Kennaway

Noah wrote:



HI there,

I am not quite sure what library I need to cure this issue up.


$ nmap -sP -v 192.168.1.1-255
/libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by 
libstdc++.so.5


That doesn't make much sense because no version of FreeBSD yet has a 
libm.so.6.  How did you obtain this nmap binary?


Kris

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5

2007-11-04 Thread Noah
 to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libgcc_s.so.1: undefined reference to 
[EMAIL PROTECTED]'

/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to 
[EMAIL PROTECTED]'

/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to 
[EMAIL PROTECTED]'

/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to 
[EMAIL PROTECTED]'

/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to 
[EMAIL PROTECTED]'

/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
gmake[2]: *** [rarian-example] Error 1
gmake[2]: Leaving directory 
`/usr/ports/textproc/rarian/work/rarian-0.6.0/util'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/textproc/rarian/work/rarian-0.6.0'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/textproc/rarian.
*** Error code 1

Stop in /usr/ports/textproc/gnome-doc-utils.
*** Error code 1

Stop in /usr/ports/accessibility/accerciser.
*** Error code 1

Stop in /usr/ports/accessibility.
*** Error code 1

Stop in /usr/ports.
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

Stop in /usr/ports/www/apache22.
access1# pkg_info | grep linux
linux-expat-1.95.8  Linux/i386 binary port of Expat XML-parsing library
linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig
linux-sun-jdk-1.5.0.12,2 Sun Java Development Kit 1.5 for Linux
linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
linux_base-fc-4_10  Base set of packages needed in Linux mode (for 
i386/amd64)



Kris Kennaway wrote:

Noah wrote:



HI there,

I am not quite sure what library I need to cure this issue up.


$ nmap -sP -v 192.168.1.1-255
/libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by 
libstdc++.so.5


That doesn't make much sense because no version of FreeBSD yet has a 
libm.so.6.  How did you obtain this nmap binary?


Kris

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5

2007-11-04 Thread Kris Kennaway

Noah wrote:

thanks Kris,

something must be wrong then. I am running into problems rebuilding 
apache now and see undefined references from 
/usr/local/lib/libstdc++.so.5 during the build:


It looks like you have added a Linux libstdc++ library which is why it 
is failing to resolve other Linux symbols and libraries.  No linux ports 
should be putting them in /usr/local/lib though, so maybe you or someone 
else did this manually.


Kris

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5

2007-11-04 Thread Noah



Kris Kennaway wrote:

Noah wrote:

thanks Kris,

something must be wrong then. I am running into problems rebuilding 
apache now and see undefined references from 
/usr/local/lib/libstdc++.so.5 during the build:


It looks like you have added a Linux libstdc++ library which is why it 
is failing to resolve other Linux symbols and libraries.  No linux ports 
should be putting them in /usr/local/lib though, so maybe you or someone 
else did this manually.




thanks Kris,

I am checking with the other admin.  In the meantime it wouldnt hurt to 
move the library /usr/local/lib/libstdc++.so.5 out of there, right?


also I just performed a 'pkgdb -Faf' and I am seeing the following grep 
problems:


Stale dependency: irssi-0.8.12 - openssl-0.9.8g (security/openssl):
grep: : No such file or directory
grep: : No such file or directory
/usr/ports/Mk/bsd.openssl.mk, line 131: warning: grep 
^lib/libssl.so.  returned non-zero status



What else did I mess up :)

Cheers,

Noah



Kris

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5

2007-11-04 Thread Byung-Hee HWANG
Hi,

On Sat, 2007-11-03 at 19:47 -0700, Noah wrote:
 
 HI there,
 
 I am not quite sure what library I need to cure this issue up.
 
 
 $ nmap -sP -v 192.168.1.1-255
 /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by 
 libstdc++.so.5
 
 
 Any clues please?

I think you are using the GNU/Linux. If not, show us `uname -a`;; 
If you need some guidance about FreeBSD, see http://www.freebsd.org/ 

-- 
Will you send this to him?
Sure, sure. You forget about Mikey, he no the man for you anymore.
-- Kay Adams and Mrs. Corleone, Chapter 15, page 235

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5

2007-11-04 Thread Noah



Byung-Hee HWANG wrote:

Hi,

On Sat, 2007-11-03 at 19:47 -0700, Noah wrote:

HI there,

I am not quite sure what library I need to cure this issue up.


$ nmap -sP -v 192.168.1.1-255
/libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by 
libstdc++.so.5



Any clues please?


I think you are using the GNU/Linux. If not, show us `uname -a`;; 
If you need some guidance about FreeBSD, see http://www.freebsd.org/ 



nope FreeBSD.

access1# uname -a
FreeBSD access1 6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-p6 #1: Wed Aug  1 
22:59:54 PDT 2007 root@:/usr/obj/usr/src/sys/LOCAL  i386

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5

2007-11-04 Thread Kris Kennaway

Noah wrote:



Kris Kennaway wrote:

Noah wrote:

thanks Kris,

something must be wrong then. I am running into problems rebuilding 
apache now and see undefined references from 
/usr/local/lib/libstdc++.so.5 during the build:


It looks like you have added a Linux libstdc++ library which is why it 
is failing to resolve other Linux symbols and libraries.  No linux 
ports should be putting them in /usr/local/lib though, so maybe you or 
someone else did this manually.




thanks Kris,

I am checking with the other admin.  In the meantime it wouldnt hurt to 
move the library /usr/local/lib/libstdc++.so.5 out of there, right?


Probably not.  The question is whether other bogus libraries were also 
added there to cause more problems later.  The pkg_which manpage has an 
example command you can run to try and track down extra files that were 
not installed by any packages.




also I just performed a 'pkgdb -Faf' and I am seeing the following grep 
problems:


Stale dependency: irssi-0.8.12 - openssl-0.9.8g (security/openssl):
grep: : No such file or directory
grep: : No such file or directory
/usr/ports/Mk/bsd.openssl.mk, line 131: warning: grep 
^lib/libssl.so.  returned non-zero status


Looks like maybe part of the OpenSSL installation was deleted (it should 
live in /usr/lib), so you should either reinstall world or install the 
openssl port.


Kris

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5

2007-11-04 Thread Noah



Kris Kennaway wrote:

Noah wrote:



Kris Kennaway wrote:

Noah wrote:

thanks Kris,

something must be wrong then. I am running into problems rebuilding 
apache now and see undefined references from 
/usr/local/lib/libstdc++.so.5 during the build:


It looks like you have added a Linux libstdc++ library which is why 
it is failing to resolve other Linux symbols and libraries.  No linux 
ports should be putting them in /usr/local/lib though, so maybe you 
or someone else did this manually.




thanks Kris,

I am checking with the other admin.  In the meantime it wouldnt hurt 
to move the library /usr/local/lib/libstdc++.so.5 out of there, right?


Probably not.  The question is whether other bogus libraries were also 
added there to cause more problems later.  The pkg_which manpage has an 
example command you can run to try and track down extra files that were 
not installed by any packages.





Hi Kris,

I am not completely clear on which manpage to go to?  Is 'pkg_' 
command/man page truncated in some way?


Cheers,

Noah

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5

2007-11-04 Thread Kris Kennaway

Noah wrote:



Kris Kennaway wrote:

Noah wrote:



Kris Kennaway wrote:

Noah wrote:

thanks Kris,

something must be wrong then. I am running into problems rebuilding 
apache now and see undefined references from 
/usr/local/lib/libstdc++.so.5 during the build:


It looks like you have added a Linux libstdc++ library which is why 
it is failing to resolve other Linux symbols and libraries.  No 
linux ports should be putting them in /usr/local/lib though, so 
maybe you or someone else did this manually.




thanks Kris,

I am checking with the other admin.  In the meantime it wouldnt hurt 
to move the library /usr/local/lib/libstdc++.so.5 out of there, right?


Probably not.  The question is whether other bogus libraries were also 
added there to cause more problems later.  The pkg_which manpage has 
an example command you can run to try and track down extra files that 
were not installed by any packages.





Hi Kris,

I am not completely clear on which manpage to go to?  Is 'pkg_' 
command/man page truncated in some way?


man pkg_which

which is part of portupgrade

Kris

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by libstdc++.so.5

2007-11-03 Thread Noah



HI there,

I am not quite sure what library I need to cure this issue up.


$ nmap -sP -v 192.168.1.1-255
/libexec/ld-elf.so.1: Shared object libm.so.6 not found, required by 
libstdc++.so.5



Any clues please?

Cheers,

Noah

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

2007-09-06 Thread Mak Kolybabi
I'm trying to install FreeBSD 6.2-RELEASE on an IBM Thinkpad, and the install
goes fine until it gets to the end of copying files from the CD. At that point,
the message 'ELF interpreter /libexec/ld-elf.so.1 not found'. Also, 'Abort trap'
appears on the console a few times.

When I go to VT4, any command I try running gives me the same error.

Any suggestions?

--
Matthew Anthony Kolybabi (Mak)

() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

2007-09-06 Thread Danielisz Laszlo
Do you tried to install FreeBSD from the internet?

- Original Message 
From: Mak Kolybabi [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Thursday, September 6, 2007 9:16:41 PM
Subject: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

I'm trying to install FreeBSD 6.2-RELEASE on an IBM Thinkpad, and the install
goes fine until it gets to the end of copying files from the CD. At that point,
the message 'ELF interpreter /libexec/ld-elf.so.1 not found'. Also, 'Abort trap'
appears on the console a few times.

When I go to VT4, any command I try running gives me the same error.

Any suggestions?

--
Matthew Anthony Kolybabi (Mak)

() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]







   

Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

2007-09-06 Thread Mak Kolybabi
On 2007-09-06 11:28, Danielisz Laszlo wrote:
 Do you tried to install FreeBSD from the internet?

 - Original Message 
 From: Mak Kolybabi [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Thursday, September 6, 2007 9:16:41 PM
 Subject: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

 I'm trying to install FreeBSD 6.2-RELEASE on an IBM Thinkpad, and the install
 goes fine until it gets to the end of copying files from the CD. At that 
 point,
 the message 'ELF interpreter /libexec/ld-elf.so.1 not found'. Also, 'Abort 
 trap'
 appears on the console a few times.

 When I go to VT4, any command I try running gives me the same error.

 Any suggestions?

I'm installing from the i386 ISO from the FreeBSD site. When asked where to use
as a download source, I chose 'CD/DVD'. Also, I have verified the ISO's MD5 sum
and tried burning the image more than once, just to be paranoid.

--
Matthew Anthony Kolybabi (Mak)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

2007-09-06 Thread Danielisz Laszlo
Try to use a FreeBSD ftp server, or a mirror server next time when asks you 
about the install source.

- Original Message 
From: Mak Kolybabi [EMAIL PROTECTED]
To: Danielisz Laszlo [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Thursday, September 6, 2007 9:35:51 PM
Subject: Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

On 2007-09-06 11:28, Danielisz Laszlo wrote:
 Do you tried to install FreeBSD from the internet?

 - Original Message 
 From: Mak Kolybabi [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Thursday, September 6, 2007 9:16:41 PM
 Subject: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

 I'm trying to install FreeBSD 6.2-RELEASE on an IBM Thinkpad, and the install
 goes fine until it gets to the end of copying files from the CD. At that 
 point,
 the message 'ELF interpreter /libexec/ld-elf.so.1 not found'. Also, 'Abort 
 trap'
 appears on the console a few times.

 When I go to VT4, any command I try running gives me the same error.

 Any suggestions?

I'm installing from the i386 ISO from the FreeBSD site. When asked where to use
as a download source, I chose 'CD/DVD'. Also, I have verified the ISO's MD5 sum
and tried burning the image more than once, just to be paranoid.

--
Matthew Anthony Kolybabi (Mak)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]







   

Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

2007-09-06 Thread Mak Kolybabi
On 2007-09-06 11:47, Danielisz Laszlo wrote:
 Try to use a FreeBSD ftp server, or a mirror server next time when asks you 
 about the install source.

 - Original Message 
 From: Mak Kolybabi [EMAIL PROTECTED]
 To: Danielisz Laszlo [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Sent: Thursday, September 6, 2007 9:35:51 PM
 Subject: Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS 
 install

 On 2007-09-06 11:28, Danielisz Laszlo wrote:
  Do you tried to install FreeBSD from the internet?
 
  - Original Message 
  From: Mak Kolybabi [EMAIL PROTECTED]
  To: freebsd-questions@freebsd.org
  Sent: Thursday, September 6, 2007 9:16:41 PM
  Subject: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install
 
  I'm trying to install FreeBSD 6.2-RELEASE on an IBM Thinkpad, and the 
  install
  goes fine until it gets to the end of copying files from the CD. At that 
  point,
  the message 'ELF interpreter /libexec/ld-elf.so.1 not found'. Also, 'Abort 
  trap'
  appears on the console a few times.
 
  When I go to VT4, any command I try running gives me the same error.
 
  Any suggestions?

 I'm installing from the i386 ISO from the FreeBSD site. When asked where to 
 use
 as a download source, I chose 'CD/DVD'. Also, I have verified the ISO's MD5 
 sum
 and tried burning the image more than once, just to be paranoid.

 --
 Matthew Anthony Kolybabi (Mak)

Will do. Thanks for the suggestion. Trying that now...

--
Matthew Anthony Kolybabi (Mak)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

2007-09-06 Thread Bahman M.

Mak Kolybabi wrote:

I'm trying to install FreeBSD 6.2-RELEASE on an IBM Thinkpad, and the install
goes fine until it gets to the end of copying files from the CD. At that point,
the message 'ELF interpreter /libexec/ld-elf.so.1 not found'. Also, 'Abort trap'
appears on the console a few times.

When I go to VT4, any command I try running gives me the same error.

Have you checked VT2 for any errors or warnings?

Bahman
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

2007-09-06 Thread Lars Eighner

On Thu, 6 Sep 2007, Mak Kolybabi wrote:


I'm trying to install FreeBSD 6.2-RELEASE on an IBM Thinkpad, and the
install goes fine until it gets to the end of copying files from the CD.
At that point, the message 'ELF interpreter /libexec/ld-elf.so.1 not
found'. Also, 'Abort trap' appears on the console a few times.

When I go to VT4, any command I try running gives me the same error.

Any suggestions?


You almost certainly have a corrupt distribution.  Did you check the
checksums?


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

2007-09-06 Thread Mak Kolybabi
On 2007-09-06 22:32, Bahman M. wrote:
 Mak Kolybabi wrote:
 I'm trying to install FreeBSD 6.2-RELEASE on an IBM Thinkpad, and the
 install
 goes fine until it gets to the end of copying files from the CD. At that
 point,
 the message 'ELF interpreter /libexec/ld-elf.so.1 not found'. Also, 'Abort
 trap'
 appears on the console a few times.
 When I go to VT4, any command I try running gives me the same error.
 Have you checked VT2 for any errors or warnings?

 Bahman

VT2 was where I was able to see these errors fully. Other than that, they crop
up behind the dialogs near the end of the setup. They are all I can see out of
the ordinary.

--
Matthew Anthony Kolybabi (Mak)

() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

2007-09-06 Thread Mel
On Thursday 06 September 2007 21:12:12 Mak Kolybabi wrote:
 On 2007-09-06 22:32, Bahman M. wrote:
  Mak Kolybabi wrote:
  I'm trying to install FreeBSD 6.2-RELEASE on an IBM Thinkpad, and the
  install
  goes fine until it gets to the end of copying files from the CD. At that
  point,
  the message 'ELF interpreter /libexec/ld-elf.so.1 not found'. Also,
  'Abort trap'
  appears on the console a few times.
  When I go to VT4, any command I try running gives me the same error.
 
  Have you checked VT2 for any errors or warnings?
 
  Bahman

 VT2 was where I was able to see these errors fully. Other than that, they
 crop up behind the dialogs near the end of the setup. They are all I can
 see out of the ordinary.

Try finding the rescue directory, there's statically linked df and ls in there 
that should help you locate why /libexec/ld-elf.so isn't found. I don't 
recall where it is on the installation cd-rom, after it's booting and don't 
have one handy at the moment.

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /libexec/ld-elf.so.1: Undefined symbol optifd referenced fromCOPY relocation in /bin/cp when installing sudo port SOLVED

2007-07-30 Thread Garrett Cooper

Lars Wittebrood wrote:

Hello list,

This issue is solved. I have compiled the /bin/cp binary from source
again and installed it. Still don't know what caused this though.

Cheers,
Lars.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of FreeBSD-Ports
Posted At: Monday, July 30, 2007 8:37 AM
Posted To: FreeBSD-Ports
Conversation: /libexec/ld-elf.so.1: Undefined symbol optifd referenced
fromCOPY relocation in /bin/cp when installing sudo port
Subject: /libexec/ld-elf.so.1: Undefined symbol optifd referenced
fromCOPY relocation in /bin/cp when installing sudo port


Hello list,

Anybody seen the message below and knows what it means? Couldn't find
anything on Goolge. It's a 6.1-RELEASE-p10 system.

[EMAIL PROTECTED] sudo # make
===  WARNING: Vulnerability database out of date, checking anyway ===
Found saved configuration for sudo-1.6.9.1 ===  Extracting for
sudo-1.6.9.1 = MD5 Checksum OK for sudo-1.6.9p1.tar.gz.
= SHA256 Checksum OK for sudo-1.6.9p1.tar.gz.
===  Patching for sudo-1.6.9.1
===  Configuring for sudo-1.6.9.1
/libexec/ld-elf.so.1: Undefined symbol optifd referenced from COPY
relocation in /bin/cp
*** Error code 1

Stop in /usr/ports/security/sudo.
*** Error code 1

Stop in /usr/ports/security/sudo.


With regards,
Lars.
  


   ABI changes if you recompiled some sources (and not others) can 
cause this.
   Always rebuild everything if you changed any important parts (libc, 
compiler versions, dependant libs, etc).

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /libexec/ld-elf.so.1: Undefined symbol optifd referenced fromCOPY relocation in /bin/cp when installing sudo port SOLVED

2007-07-30 Thread Garrett Cooper

Garrett Cooper wrote:

Lars Wittebrood wrote:

Hello list,

This issue is solved. I have compiled the /bin/cp binary from source
again and installed it. Still don't know what caused this though.

Cheers,
Lars.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of FreeBSD-Ports
Posted At: Monday, July 30, 2007 8:37 AM
Posted To: FreeBSD-Ports
Conversation: /libexec/ld-elf.so.1: Undefined symbol optifd referenced
fromCOPY relocation in /bin/cp when installing sudo port
Subject: /libexec/ld-elf.so.1: Undefined symbol optifd referenced
fromCOPY relocation in /bin/cp when installing sudo port


Hello list,

Anybody seen the message below and knows what it means? Couldn't find
anything on Goolge. It's a 6.1-RELEASE-p10 system.

[EMAIL PROTECTED] sudo # make
===  WARNING: Vulnerability database out of date, checking anyway ===
Found saved configuration for sudo-1.6.9.1 ===  Extracting for
sudo-1.6.9.1 = MD5 Checksum OK for sudo-1.6.9p1.tar.gz.
= SHA256 Checksum OK for sudo-1.6.9p1.tar.gz.
===  Patching for sudo-1.6.9.1
===  Configuring for sudo-1.6.9.1
/libexec/ld-elf.so.1: Undefined symbol optifd referenced from COPY
relocation in /bin/cp
*** Error code 1

Stop in /usr/ports/security/sudo.
*** Error code 1

Stop in /usr/ports/security/sudo.


With regards,
Lars.
  


   ABI changes if you recompiled some sources (and not others) can 
cause this.
   Always rebuild everything if you changed any important parts (libc, 
compiler versions, dependant libs, etc).

-Garrett


   Err... I meant to email [EMAIL PROTECTED]
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what causes error -- ELF interpreter /libexec/ld-elf.so.1 not found

2007-06-14 Thread John Baldwin
On Wednesday 13 June 2007 06:32:42 pm Jin Guojun wrote:
 Umm, the amount of physical memory has no bearing on how the virtual
 address space for userland is laid out.  Do you know what virtual memory
 is and how it works?  Your first e-mail seems to contradict this paragraph
 as in your first e-mail you noted that the physical memory doesn't matter,
 the solution was to not raise MAXDSIZ higher than 1GB and that is consistent
 with running out of virtual address space due to MAXDSIZ reserving too much
 address space for malloc().
   
  No quite clear on this. Does this mean that the MAXDSIZ cannot exceeed 1GB 
regardless
  how many physical memory (say 16 GB) is installed? Then, this is 
definitiely a software bug.
  Then, somewhere the following checking is needed:
  
  #if (MAXDSIZ  1024 * 1024 * 1024)
  #undef   MAXDSIZ
  #define   MAXDSIZ   (1024 * 1024 * 1024)
  #endif

It depends on the app.  Some apps you can crank the malloc space up a whole 
lot.  Also, if you are running FreeBSD/amd64 and running a 32-bit binary 
under freebsd32 emulation, then it has 4GB of VA space rather than 3GB, so 
you can give it more MAXDSIZ.  It's really up to the user to only use a 
maxdsiz that works.  You can also adjust the hard limit before exec'ing a 
process that needs a smaller dsize and leave MAXDSIZ larger for other 
processes.  Since it is dependent on things the compiler can't know about at 
the build time of the kernel, we just let the user set it to whatever and if 
they set it too high things break until they lower it.  You can even set this 
at boot time via 'kern.maxdsiz' tunable in the loader w/o needing to 
recompile.

-- 
John Baldwin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what causes error -- ELF interpreter /libexec/ld-elf.so.1 not found

2007-06-13 Thread John Baldwin
On Tuesday 12 June 2007 09:20:02 pm Jin Guojun wrote:
  John Baldwin wrote: 
 On Saturday 09 June 2007 08:53:18 pm Jin Guojun [VFFS] wrote:
   
 I believe that this is a memory sub-system bug somewhere because 
 anything equal to or below 1G
 
 options MAXDSIZ=(1024*1024*1024)
 
 will work regardless how many memory is installed in the system.
 I doubt this could be a hardware related issue although is memory size 
 related.
 
 
 Finally find cause but no idea why -- in kernel configuration, 
 following line causes the problem:
 
options MAXDSIZ=(2097152U*1024)
 
 Can anyone explain why this can cause /libexec/ld-elf.so.1 not seen 
 for some program?
   
 
 This is setting aside 2GB for malloc which leaves only 1GB for all of mmap 
 and 
 stack.  You probably don't have enough address space to map your binary.
   
  This does not quite explain the problem. 
  First of all, the MAXDSIZ is the maximum size for users to set their own 
 datasize limit by 'limit'
  utility.  If user do not set a high limit for datasize, it should not be a 
 problem.

UTSL.  By default proc0 gets a hard limit (lim_max vs lim_cur) of MAXDSIZ,
and the max limit is what the ELF image activator in the kernel uses when
figuring out where to mmap the runtime linker:

/*
 * We load the dynamic linker where a userland call
 * to mmap(0, ...) would put it.  The rationale behind this
 * calculation is that it leaves room for the heap to grow to
 * its maximum allowed size.
 */
addr = round_page((vm_offset_t)imgp-proc-p_vmspace-vm_daddr +
lim_max(imgp-proc, RLIMIT_DATA));

  The second aspect also counters this assumption, for machines that have less 
 than or equal to
  1 GB memory, and setting the MAXDISZ = the maximum memory size will not 
 cause such problem.
  For example, if the physical memory size is 512 MB, and setting 
 MAXDSIZ=(512*1024*1024)
  will not cause this problem. Or if the physical memory is 1GB, setting 
 MAXDSIZ=(1024*1024*1024)
  will not cause the problem either.

Umm, the amount of physical memory has no bearing on how the virtual
address space for userland is laid out.  Do you know what virtual memory
is and how it works?  Your first e-mail seems to contradict this paragraph
as in your first e-mail you noted that the physical memory doesn't matter,
the solution was to not raise MAXDSIZ higher than 1GB and that is consistent
with running out of virtual address space due to MAXDSIZ reserving too much
address space for malloc().

-- 
John Baldwin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what causes error -- ELF interpreter /libexec/ld-elf.so.1 not found

2007-06-13 Thread Jin Guojun

   John Baldwin wrote:

On Tuesday 12 June 2007 09:20:02 pm Jin Guojun wrote:
  

 John Baldwin wrote: 
On Saturday 09 June 2007 08:53:18 pm Jin Guojun [VFFS] wrote:
  
I believe that this is a memory sub-system bug somewhere because 
anything equal to or below 1G

options MAXDSIZ=(1024*1024*1024)

will work regardless how many memory is installed in the system.
I doubt this could be a hardware related issue although is memory size 
related.


Finally find cause but no idea why -- in kernel configuration, 
following line causes the problem:

   options MAXDSIZ=(2097152U*1024)

Can anyone explain why this can cause /libexec/ld-elf.so.1 not seen 
for some program?
  

This is setting aside 2GB for malloc which leaves only 1GB for all of mmap and 
stack.  You probably don't have enough address space to map your binary.
  
 This does not quite explain the problem. 
 First of all, the MAXDSIZ is the maximum size for users to set their own datas
ize limit by 'limit'
 utility.  If user do not set a high limit for datasize, it should not be a pro
blem.


UTSL.  By default proc0 gets a hard limit (lim_max vs lim_cur) of MAXDSIZ,
and the max limit is what the ELF image activator in the kernel uses when
figuring out where to mmap the runtime linker:

/*
 * We load the dynamic linker where a userland call
 * to mmap(0, ...) would put it.  The rationale behind this
 * calculation is that it leaves room for the heap to grow to
 * its maximum allowed size.
 */
addr = round_page((vm_offset_t)imgp-proc-p_vmspace-vm_daddr +
lim_max(imgp-proc, RLIMIT_DATA));

  

 The second aspect also counters this assumption, for machines that have less t
han or equal to
 1 GB memory, and setting the MAXDISZ = the maximum memory size will not cause 
such problem.
 For example, if the physical memory size is 512 MB, and setting MAXDSIZ=(512*1
024*1024)
 will not cause this problem. Or if the physical memory is 1GB, setting MAXDSIZ
=(1024*1024*1024)
 will not cause the problem either.


Umm, the amount of physical memory has no bearing on how the virtual
address space for userland is laid out.  Do you know what virtual memory
is and how it works?  Your first e-mail seems to contradict this paragraph
as in your first e-mail you noted that the physical memory doesn't matter,
the solution was to not raise MAXDSIZ higher than 1GB and that is consistent
with running out of virtual address space due to MAXDSIZ reserving too much
address space for malloc().
  

   No quite clear on this. Does this mean that the MAXDSIZ cannot exceeed
   1GB regardless
   how many physical memory (say 16 GB) is installed? Then, this is
   definitiely a software bug.
   Then, somewhere the following checking is needed:
   #if (MAXDSIZ  1024 * 1024 * 1024)
   #undef   MAXDSIZ
   #define   MAXDSIZ   (1024 * 1024 * 1024)
   #endif
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what causes error -- ELF interpreter /libexec/ld-elf.so.1 not found

2007-06-12 Thread John Baldwin
On Saturday 09 June 2007 08:53:18 pm Jin Guojun [VFFS] wrote:
 I believe that this is a memory sub-system bug somewhere because 
 anything equal to or below 1G
 
 options MAXDSIZ=(1024*1024*1024)
 
 will work regardless how many memory is installed in the system.
 I doubt this could be a hardware related issue although is memory size 
 related.
 
  Finally find cause but no idea why -- in kernel configuration, 
  following line causes the problem:
 
 options MAXDSIZ=(2097152U*1024)
 
  Can anyone explain why this can cause /libexec/ld-elf.so.1 not seen 
  for some program?

This is setting aside 2GB for malloc which leaves only 1GB for all of mmap and 
stack.  You probably don't have enough address space to map your binary.

-- 
John Baldwin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what causes error -- ELF interpreter /libexec/ld-elf.so.1 not found

2007-06-12 Thread Jin Guojun

   John Baldwin wrote:

On Saturday 09 June 2007 08:53:18 pm Jin Guojun [VFFS] wrote:
  

I believe that this is a memory sub-system bug somewhere because 
anything equal to or below 1G

options MAXDSIZ=(1024*1024*1024)

will work regardless how many memory is installed in the system.
I doubt this could be a hardware related issue although is memory size 
related.



Finally find cause but no idea why -- in kernel configuration, 
following line causes the problem:

   options MAXDSIZ=(2097152U*1024)

Can anyone explain why this can cause /libexec/ld-elf.so.1 not seen 
for some program?
  

This is setting aside 2GB for malloc which leaves only 1GB for all of mmap and 
stack.  You probably don't have enough address space to map your binary.
  

   This does not quite explain the problem.
   First of all, the MAXDSIZ is the maximum size for users to set their
   own datasize limit by 'limit'
   utility.  If user do not set a high limit for datasize, it should not
   be a problem.
   The second aspect also counters this assumption, for machines that
   have less than or equal to
   1 GB memory, and setting the MAXDISZ = the maximum memory size will
   not cause such problem.
   For example, if the physical memory size is 512 MB, and setting
   MAXDSIZ=(512*1024*1024)
   will not cause this problem. Or if the physical memory is 1GB, setting
   MAXDSIZ=(1024*1024*1024)
   will not cause the problem either.
   I will try to build a similar system on an AMD box with 2GB and more
   memory to see if this
   will be a problem.
   -Jin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


what causes error -- ELF interpreter /libexec/ld-elf.so.1 not found

2007-06-09 Thread Jin Guojun [VFFS]
I have multiple FreeBSD 6.2 machines with different hardware, but one of 
them encountered

this strange error when running program wine.
I could not figure out what causes such error since /libexec/ld-elf.so.1 
absolutely exists, otherwise

no program will run.

It does not matter if the wine is pre-compiled in packages or I built it 
from ports.

All other machine do NOT have such problem.

I reinstalled this machine a few times, and it always does the same 
thing. However other programs

run well.
Would this is related to some particular hardware issue?
This one is ECS 848P-A7 motherboard with Intel P4 506+ CPU, plus 2 GB 
memory.
Other machines are HP AMD64 laptop, DELL Dual XEON, DELL Intel Laptop, 
and AMD XP 2100+,

and none of them ever had such problem.

129 /data: ldd `which wine`
/usr/local/bin/wine:
ELF interpreter /libexec/ld-elf.so.1 not found
/usr/local/bin/wine: signal 6

130 /data: ll /libexec/ld-elf.so.1
-r-xr-xr-x  1 root  wheel  158712 Jan 11 23:39 /libexec/ld-elf.so.1*

131 /data: wine
ELF interpreter /libexec/ld-elf.so.1 not found
Abort

132 /data: which wine
/usr/local/bin/wine

Does someone have an idea what is happening here?

-Jin

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what causes error -- ELF interpreter /libexec/ld-elf.so.1 not found

2007-06-09 Thread Jin Guojun [VFFS]
Finally find cause but no idea why -- in kernel configuration, following 
line causes the problem:


   options MAXDSIZ=(2097152U*1024)

Can anyone explain why this can cause /libexec/ld-elf.so.1 not seen for 
some program?


Jin Guojun [VFFS] wrote:

I have multiple FreeBSD 6.2 machines with different hardware, but one 
of them encountered

this strange error when running program wine.
I could not figure out what causes such error since 
/libexec/ld-elf.so.1 absolutely exists, otherwise

no program will run.

It does not matter if the wine is pre-compiled in packages or I built 
it from ports.

All other machine do NOT have such problem.

I reinstalled this machine a few times, and it always does the same 
thing. However other programs

run well.
Would this is related to some particular hardware issue?
This one is ECS 848P-A7 motherboard with Intel P4 506+ CPU, plus 2 GB 
memory.
Other machines are HP AMD64 laptop, DELL Dual XEON, DELL Intel Laptop, 
and AMD XP 2100+,

and none of them ever had such problem.

129 /data: ldd `which wine`
/usr/local/bin/wine:
ELF interpreter /libexec/ld-elf.so.1 not found
/usr/local/bin/wine: signal 6

130 /data: ll /libexec/ld-elf.so.1
-r-xr-xr-x  1 root  wheel  158712 Jan 11 23:39 /libexec/ld-elf.so.1*

131 /data: wine
ELF interpreter /libexec/ld-elf.so.1 not found
Abort

132 /data: which wine
/usr/local/bin/wine

Does someone have an idea what is happening here?

-Jin



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what causes error -- ELF interpreter /libexec/ld-elf.so.1 not found

2007-06-09 Thread Jin Guojun [VFFS]
I believe that this is a memory sub-system bug somewhere because 
anything equal to or below 1G


   options MAXDSIZ=(1024*1024*1024)

will work regardless how many memory is installed in the system.
I doubt this could be a hardware related issue although is memory size 
related.


Finally find cause but no idea why -- in kernel configuration, 
following line causes the problem:


   options MAXDSIZ=(2097152U*1024)

Can anyone explain why this can cause /libexec/ld-elf.so.1 not seen 
for some program?


Jin Guojun [VFFS] wrote:

I have multiple FreeBSD 6.2 machines with different hardware, but one 
of them encountered

this strange error when running program wine.
I could not figure out what causes such error since 
/libexec/ld-elf.so.1 absolutely exists, otherwise

no program will run.

It does not matter if the wine is pre-compiled in packages or I built 
it from ports.

All other machine do NOT have such problem.

I reinstalled this machine a few times, and it always does the same 
thing. However other programs

run well.
Would this is related to some particular hardware issue?
This one is ECS 848P-A7 motherboard with Intel P4 506+ CPU, plus 2 GB 
memory.
Other machines are HP AMD64 laptop, DELL Dual XEON, DELL Intel 
Laptop, and AMD XP 2100+,

and none of them ever had such problem.

129 /data: ldd `which wine`
/usr/local/bin/wine:
ELF interpreter /libexec/ld-elf.so.1 not found
/usr/local/bin/wine: signal 6

130 /data: ll /libexec/ld-elf.so.1
-r-xr-xr-x  1 root  wheel  158712 Jan 11 23:39 /libexec/ld-elf.so.1*

131 /data: wine
ELF interpreter /libexec/ld-elf.so.1 not found
Abort

132 /data: which wine
/usr/local/bin/wine

Does someone have an idea what is happening here?

-Jin




--
 Jin Guojun --- v --- [EMAIL PROTECTED] ---
Distributed Systems Department  http://www.dsd.lbl.gov/~jin
Lawrence Berkeley National Laboratory,  Berkeley, CA 94720

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Restore /libexec/ld-elf.so.1

2007-03-05 Thread Huy Ton That

I renamed this file and now I cannot boot up anymore... How can I restore
this file?  Help
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Restore /libexec/ld-elf.so.1

2007-03-05 Thread Sergio Lenzi
Em Seg, 2007-03-05 às 08:33 -0500, Huy Ton That escreveu:

 I renamed this file and now I cannot boot up anymore... How can I restore
 this file?  Help


The easy way:
1) Boot from the FreeBSD 1 boot cd (that one with 680Mb...)
2) choose repair 
3) fsck the /dev/adXs1a (X is 0,1 depending of your machine
setup...)
4) mount the /dev/adXs1a on /mnt
5) restore the libexec  .  if you have removed them..  copy from the
CD
that is mounted on /dist

Hope it can help

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/libexec/ld-elf.so.1: ssh: Undefined symbol ssh_get_progname

2007-03-05 Thread Noah

Hi there,

any clues on how to recover from this?

I am attempting to backup to this machine and now I cannot ssh from it 
to other machines.




/libexec/ld-elf.so.1: ssh: Undefined symbol ssh_get_progname

Cheers,

Noah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Restore /libexec/ld-elf.so.1

2007-03-05 Thread Kris Kennaway
On Mon, Mar 05, 2007 at 08:33:33AM -0500, Huy Ton That wrote:
 I renamed this file and now I cannot boot up anymore... How can I restore
 this file?  Help

See the archives, I answered this question a few days ago

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /libexec/ld-elf.so.1

2007-03-01 Thread Kris Kennaway
On Wed, Feb 28, 2007 at 01:37:56PM -0800, Noah wrote:
 
 
 so something strange has happened and my machine no longer boots and I 
 am not clear why.  Here is what happens during boot:
 
 
 Trying to mount root from ufs:/dev/ad0s1a
 WARNING: / was not properly dismounted
 ELF interpreter /libexec/ld-elf.so.1 not found
 Enter full pathname of shell or RETURN for /bin/sh:
 ELF interpreter /libexec/ld-elf.so.1 not found
 Enter full pathname of shell or RETURN for /bin/sh: sh
 FEnter full pathname of shell or RETURN for /bin/sh: /bin/sh
 ELF interpreter /libexec/ld-elf.so.1 not found
 Enter full pathname of shell or RETURN for /bin/sh:
 ELF interpreter /libexec/ld-elf.so.1 not found
 Enter full pathname of shell or RETURN for /bin/sh:
 ELF interpreter /libexec/ld-elf.so.1 not found
 Enter full pathname of shell or RETURN for /bin/sh:
 ELF interpreter /libexec/ld-elf.so.1 not found
 Enter full pathname of shell or RETURN for /bin/sh:
 
 what is the best suggestion for troubleshooting this?

That's a pretty serious error, it indicates your system has lost the
ability to run any dynamically linked binaries (i.e. almost all of
them, by default) because the dynamic linker was removed somehow.  The
cause of this could either be accidental misuse of rm or similar,
filesystem corruption, disk failure, etc.  Try to work out what you or
the other admins were doing prior to this failure.

To repair, you can boot -s and use the statically linked tools in
/rescue to try and investigate the cause and possible fix.  One thing
that might work is that if you have done an installworld on this
machine in the past then you might have a useable backup
/libexec/ld-elf.so.1.old which you could copy into place.  If not, and
you can't find a way to get a copy of this file onto the machine, then
your remaining alternative would be a reinstall.

Kris


pgpKTDXCP15yO.pgp
Description: PGP signature


Re: /libexec/ld-elf.so.1 [solved]

2007-03-01 Thread Noah



Kris Kennaway wrote:

On Wed, Feb 28, 2007 at 01:37:56PM -0800, Noah wrote:


so something strange has happened and my machine no longer boots and I 
am not clear why.  Here is what happens during boot:



Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
ELF interpreter /libexec/ld-elf.so.1 not found
Enter full pathname of shell or RETURN for /bin/sh:
ELF interpreter /libexec/ld-elf.so.1 not found
Enter full pathname of shell or RETURN for /bin/sh: sh
FEnter full pathname of shell or RETURN for /bin/sh: /bin/sh
ELF interpreter /libexec/ld-elf.so.1 not found
Enter full pathname of shell or RETURN for /bin/sh:
ELF interpreter /libexec/ld-elf.so.1 not found
Enter full pathname of shell or RETURN for /bin/sh:
ELF interpreter /libexec/ld-elf.so.1 not found
Enter full pathname of shell or RETURN for /bin/sh:
ELF interpreter /libexec/ld-elf.so.1 not found
Enter full pathname of shell or RETURN for /bin/sh:

what is the best suggestion for troubleshooting this?


That's a pretty serious error, it indicates your system has lost the
ability to run any dynamically linked binaries (i.e. almost all of
them, by default) because the dynamic linker was removed somehow.  The
cause of this could either be accidental misuse of rm or similar,
filesystem corruption, disk failure, etc.  Try to work out what you or
the other admins were doing prior to this failure.

To repair, you can boot -s and use the statically linked tools in
/rescue to try and investigate the cause and possible fix.  One thing
that might work is that if you have done an installworld on this
machine in the past then you might have a useable backup
/libexec/ld-elf.so.1.old which you could copy into place.  If not, and
you can't find a way to get a copy of this file onto the machine, then
your remaining alternative would be a reinstall.

Kris



thanks we used /rescue and saves the system

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/libexec/ld-elf.so.1

2007-02-28 Thread Noah



so something strange has happened and my machine no longer boots and I 
am not clear why.  Here is what happens during boot:



Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
ELF interpreter /libexec/ld-elf.so.1 not found
Enter full pathname of shell or RETURN for /bin/sh:
ELF interpreter /libexec/ld-elf.so.1 not found
Enter full pathname of shell or RETURN for /bin/sh: sh
FEnter full pathname of shell or RETURN for /bin/sh: /bin/sh
ELF interpreter /libexec/ld-elf.so.1 not found
Enter full pathname of shell or RETURN for /bin/sh:
ELF interpreter /libexec/ld-elf.so.1 not found
Enter full pathname of shell or RETURN for /bin/sh:
ELF interpreter /libexec/ld-elf.so.1 not found
Enter full pathname of shell or RETURN for /bin/sh:
ELF interpreter /libexec/ld-elf.so.1 not found
Enter full pathname of shell or RETURN for /bin/sh:

what is the best suggestion for troubleshooting this?

Cheers,

Noah

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/libexec/ld-elf.so.1: Shared object libcvsservice.so.0 not found, required by quanta

2006-08-19 Thread dick hoogendijk
/libexec/ld-elf.so.1: Shared object libcvsservice.so.0 not found,
required by quanta

This file is missing and I would like to know from which package this
file comes. I'm sure there is some kind of command prompt which I
regrettely don't know ;-(

Anyone?

-- 
dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 +++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /libexec/ld-elf.so.1: Shared object libcvsservice.so.0 not found, required by quanta

2006-08-19 Thread Alexey Mikhailov

Hello!

dick hoogendijk wrote:

/libexec/ld-elf.so.1: Shared object libcvsservice.so.0 not found,
required by quanta

This file is missing and I would like to know from which package this
file comes. I'm sure there is some kind of command prompt which I
regrettely don't know ;-(

Anyone?

  

It comes from devel/kdesdk3 package.

% cat /usr/ports/devel/kdesdk3/pkg-plist | grep cvsservice
...
lib/libcvsservice.so.0
...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /libexec/ld-elf.so.1: Shared object libcvsservice.so.0 not found, required by quanta

2006-08-19 Thread Kent Stewart
On Saturday 19 August 2006 02:39, dick hoogendijk wrote:
 /libexec/ld-elf.so.1: Shared object libcvsservice.so.0 not found,
 required by quanta

 This file is missing and I would like to know from which package this
 file comes. I'm sure there is some kind of command prompt which I
 regrettely don't know ;-(


If I am not mistaken, quanta is installed from kdewebdev. I looked 
around and couldn't see what dependancy installed it. I looked at the 
Makefile and you see

BUILD_DEPENDS=  cvsservice:${PORTSDIR}/devel/kdesdk3

I would force upgrade kdesdk.

Kent

-- 
Kent Stewart
Richland, WA

http://www.soyandina.com/ I am Andean project.
http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ELF interpreter /libexec/ld-elf.so.1 not found

2006-05-18 Thread David Banning
I am getting this error when attempting to start jboss4.

Google doesn't seem to bring up anything on this. My system is 
4.11-STABLE. I noticed that ld-elf.so.1 -does- exist in 
/usr/libexec/ld-elf.so.1 so one thought I had was just symlinking to it.

Any direction would be helpful.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ELF interpreter /libexec/ld-elf.so.1 not found

2006-05-18 Thread David Banning
On Thu, May 18, 2006 at 04:02:45PM -0400, David Banning wrote:
 I am getting this error when attempting to start jboss4.
 
 Google doesn't seem to bring up anything on this. My system is 
 4.11-STABLE. I noticed that ld-elf.so.1 -does- exist in 
 /usr/libexec/ld-elf.so.1 so one thought I had was just symlinking to it.
 
 Any direction would be helpful.

I notice I also get a similar error - something like ELF interpreter
not found during boot.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ELF interpreter /libexec/ld-elf.so.1 not found

2006-05-18 Thread Kris Kennaway
On Thu, May 18, 2006 at 04:02:45PM -0400, David Banning wrote:
 I am getting this error when attempting to start jboss4.
 
 Google doesn't seem to bring up anything on this. My system is 
 4.11-STABLE. I noticed that ld-elf.so.1 -does- exist in 
 /usr/libexec/ld-elf.so.1 so one thought I had was just symlinking to it.
 
 Any direction would be helpful.

You are trying to run a non-FreeBSD 4.x binary.

Kris


pgpUMTVJg2EzI.pgp
Description: PGP signature


/libexec/ld-elf.so.1 errors with multiple libs

2006-05-09 Thread Harman

I was installing beep-media-player yesterday through the ports
collection. I was doing alot of manual upgrading of ports to get it
done, never was able to get the entire thing working, because of
dependencies. I noticed my things weren't able to execute, with the
error: Most things execute without lib errors, all the X apps get this
error. I'm thinking the base of the issue might be expat

/libexec/ld-elf.so.1: Shared object libexpat.so.5 not found requred
by libfontconfig.so.1

among some others like

/libexec/ld-elf.so.1: Shared object libgobject-2.0.so.600 not found,
required by xchat

for xchat and freefontconfig

/libexec/ld-elf.so.1: Shared object libgmodule-2.0.so.600 not found,
required by gaim
for gaim and mplayer

You get the drift. Not sure how to easily fix this.
Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /libexec/ld-elf.so.1 errors with multiple libs

2006-05-09 Thread snnn

Maybe the only way is re-compile these applications.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/libexec/ld-elf.so.1 errors with multiple libs

2006-05-09 Thread Robert Huff

Harman writes:

  I was installing beep-media-player yesterday through the ports
  collection. I was doing alot of manual upgrading of ports to get it
  done, never was able to get the entire thing working, because of
  dependencies. I noticed my things weren't able to execute, with the
  error: Most things execute without lib errors, all the X apps get this
  error. I'm thinking the base of the issue might be expat
  
  /libexec/ld-elf.so.1: Shared object libexpat.so.5 not found requred
  by libfontconfig.so.1

This feels like a version mis-match.  Can you re-install
textproc/expat2?

  
  /libexec/ld-elf.so.1: Shared object libgmodule-2.0.so.600 not found,
  required by gaim
  for gaim and mplayer

May be a GNOME problem.  Have you read /usr/ports/UPDATING?


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/usr/libexec/ld-elf.so.1: /usr/local/lib/libintl.so.6: Undefined symbol stpcpy

2005-11-29 Thread Thomas Uhrfelt
Dear fellow FreeBSDers,

I have recently started to get the message in the subject when installing
ports from source. I have scanned the mailinglists and other resources and
found a few others with these particular problems. And I've tried most of
the tricks mentioned there (excluding those which sounds a bit dangerous to
conduct on a semi-production system) - including reinstalling gettext etc. I
do not have the Compat4X clause in make.conf so this shouldn't be part of my
problem.

This is a 5.4-Stable machine upgraded from 4.8 during the summer, and so far
it conducted and performed extremely well.  I am rebuilding the world and
kernel right now against the latest 5.4-STABLE sources. Then I am going to
try a portupgrade  -fa, but if this doesn't permanently solve my problems, I
would like to hace som suggestions on where to go next.

All hints, tips of suggestions are most welcome.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/libexec/ld-elf.so.1: /usr/local/lib/libintl.so.6: Undefined symbol stpcpy

2005-11-29 Thread Kris Kennaway
On Tue, Nov 29, 2005 at 03:43:14PM +0100, Thomas Uhrfelt wrote:
 Dear fellow FreeBSDers,
 
 I have recently started to get the message in the subject when installing
 ports from source. I have scanned the mailinglists and other resources and
 found a few others with these particular problems. And I've tried most of
 the tricks mentioned there (excluding those which sounds a bit dangerous to
 conduct on a semi-production system) - including reinstalling gettext etc. I
 do not have the Compat4X clause in make.conf so this shouldn't be part of my
 problem.
 
 This is a 5.4-Stable machine upgraded from 4.8 during the summer, and so far
 it conducted and performed extremely well.  I am rebuilding the world and
 kernel right now against the latest 5.4-STABLE sources. Then I am going to
 try a portupgrade  -fa, but if this doesn't permanently solve my problems, I
 would like to hace som suggestions on where to go next.

Yes, you need to portupgrade -fa whenever you upgrade to a new major
release of FreeBSD.  At the moment you have an inconsistent mix of 4.x
and 5.x libraries, and that is a recipe for disaster.

Kris


pgpWZfXnhuT0L.pgp
Description: PGP signature


SV: /usr/libexec/ld-elf.so.1: /usr/local/lib/libintl.so.6: Undefined symbol stpcpy

2005-11-29 Thread Thomas Uhrfelt
Thanks, but shouldn't that really be in the handbook? I ran out of time
today and since it's a production system I need to wait until tomorrow to se
what happens. Would it kill me to use packages (fetch) when doing this?

-Ursprungligt meddelande-
Från: Kris Kennaway [mailto:[EMAIL PROTECTED] 
Skickat: den 29 november 2005 21:59
Till: Thomas Uhrfelt
Kopia: freebsd-questions@freebsd.org
Ämne: Re: /usr/libexec/ld-elf.so.1: /usr/local/lib/libintl.so.6: Undefined
symbol stpcpy

On Tue, Nov 29, 2005 at 03:43:14PM +0100, Thomas Uhrfelt wrote:
 Dear fellow FreeBSDers,
 
 I have recently started to get the message in the subject when installing
 ports from source. I have scanned the mailinglists and other resources and
 found a few others with these particular problems. And I've tried most of
 the tricks mentioned there (excluding those which sounds a bit dangerous
to
 conduct on a semi-production system) - including reinstalling gettext etc.
I
 do not have the Compat4X clause in make.conf so this shouldn't be part of
my
 problem.
 
 This is a 5.4-Stable machine upgraded from 4.8 during the summer, and so
far
 it conducted and performed extremely well.  I am rebuilding the world and
 kernel right now against the latest 5.4-STABLE sources. Then I am going to
 try a portupgrade  -fa, but if this doesn't permanently solve my problems,
I
 would like to hace som suggestions on where to go next.

Yes, you need to portupgrade -fa whenever you upgrade to a new major
release of FreeBSD.  At the moment you have an inconsistent mix of 4.x
and 5.x libraries, and that is a recipe for disaster.

Kris

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SV: /usr/libexec/ld-elf.so.1: /usr/local/lib/libintl.so.6: Undefined symbol stpcpy

2005-11-29 Thread Kris Kennaway
On Tue, Nov 29, 2005 at 10:02:06PM +0100, Thomas Uhrfelt wrote:
 Thanks, but shouldn't that really be in the handbook?

It should.  It would be great if you could submit a PR with the
relevant change.

 I ran out of time today and since it's a production system I need to
 wait until tomorrow to se what happens. Would it kill me to use
 packages (fetch) when doing this?

No, in fact using portupgrade -faPP is probably the best way, as long
as you don't have excessive customizations (WITH_*/WITHOUT_*) that you
rely on.

Kris


pgpjlYUlS7wTO.pgp
Description: PGP signature


Re: [Fwd: Suspected problem with /libexec/ld-elf.so.1]

2005-10-25 Thread Kris Kennaway
On Mon, Oct 24, 2005 at 10:27:12AM +0200, Gregory Nou wrote:
 As nobody seems concerned in current, I suppose it is not an error due 
 to current.

I guess you didn't read my mail?

Kris


pgpcK67ImUPCE.pgp
Description: PGP signature


Re: [Fwd: Suspected problem with /libexec/ld-elf.so.1]

2005-10-25 Thread Gregory Nou

Kris Kennaway wrote:

On Mon, Oct 24, 2005 at 10:27:12AM +0200, Gregory Nou wrote:

As nobody seems concerned in current, I suppose it is not an error due 
to current.



I guess you didn't read my mail?

Kris

I saw your answer after posting there.
But now everything is nice and work well.
Thank you again.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[Fwd: Suspected problem with /libexec/ld-elf.so.1]

2005-10-24 Thread Gregory Nou
As nobody seems concerned in current, I suppose it is not an error due 
to current.

Does someone here have an idea on why this thing is (seems) broken ?

uname :  7.0-CURRENT FreeBSD 7.0-CURRENT #1: Fri Oct 21 17:13:29 CEST 2005

Thanks a lot :)
---BeginMessage---

Hi,

I'm experiencing lots of weird problems since my last cvsup (yesterday)
Everything I have installed using packages or sources after the cvsup 
doesn't work, exiting with weird error messages like for example:

% pdflatex rapport.tex
zsh: exec format error: pdflatex
or
% texi2pdf rapport.tex
pdflatex: 2: Syntax error: ) unexpected
/usr/local/bin/texi2dvi: pdflatex exited with bad status, quitting.

and also :
/libexec/ld-elf.so.1: some_lib_here: unsupported file layout

% xpdf
/libexec/ld-elf.so.1: /usr/local/lib/libt1.so.5: unsupported file layout
% kile
/libexec/ld-elf.so.1: /usr/X11R6/lib/libqt-mt.so.3: unsupported file layout


Is someone experiencing the same problem ?

--
Gregory

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]

---End Message---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

/libexec/ld-elf.so.1: Shared object libssl.so.3 not found

2004-09-16 Thread Steven Adams
Hi..

When im trying to run pkg_add im getting


Steven Adams [EMAIL PROTECTED] 
DriftNet Web Services http://www.drifthost.com 
Home: +61 2 94274857
Fax: +61 2 94274857
Mobile +61 (0) 404 085644


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: /libexec/ld-elf.so.1: Shared object libssl.so.3 not found

2004-09-16 Thread Steven Adams

Hi..

When im trying to run pkg_add im getting

/libexec/ld-elf.so.1: Shared object libssl.so.3 not found

Does anyone know what this mean and how I install it.

Steven Adams [EMAIL PROTECTED] 
DriftNet Web Services http://www.drifthost.com 
Home: +61 2 94274857
Fax: +61 2 94274857
Mobile +61 (0) 404 085644


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /libexec/ld-elf.so.1: Shared object libssl.so.3 not found

2004-09-16 Thread Matthew Seaman
On Thu, Sep 16, 2004 at 08:49:29PM +1000, Steven Adams wrote:

 When im trying to run pkg_add im getting
 
 /libexec/ld-elf.so.1: Shared object libssl.so.3 not found
 
 Does anyone know what this mean and how I install it.

Well, the error message means that the dynamic loader (ld-elf.so)
cannot find a shared library that pkg_add requires.  The library
itself should be in:

/usr/lib/libssl.so.3

Both that, and pkg_add are standard parts of the base system, although
there are also versions of OpenSSL (security/openssl) and the pkg
tools suite (sysutils/pkg_install) in the ports system.  I'm guessing
that what has happened is that you've installed one or both of those
using pre-compiled packages, hence the trouble resolving the shared
libraries.

In general, you shouldn't install a port that duplicates part of the
base system unless you actually need to do that.  Especially if what
you're installing provides shared libraries.  Most of those ports
exist as ways of ensuring backwards compatability to older system
versions -- you certainly don't need them if you're running
4.10-RELEASE, 4.10-STABLE, 5.2.1-RELEASE or better.  There's probably
a couple of other releases from the 4.x series where you don't need
them either.

If you haven't got a /usr/lib/libssl.so.3 file on your computer, then
something is certainly rotten there.  The simplest way to recover is
to use cvsup to grab the latest sources from whatever installation
branch you're using, and then do a full build+install world+kernel
cycle as detailed in the Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

Do examine your /etc/make.conf to make sure you aren't inadvertently
disabling crypto support.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpdXCiK5SeRY.pgp
Description: PGP signature


RE: /libexec/ld-elf.so.1: Shared object libssl.so.3 not found

2004-09-16 Thread Steven Adams
Thanks for your reply.

Ive managed to fix it by copying libssl.so.3 from another freebsd server I
am running, to my surprise it works fine now.

Dunno how it went missing, think it was something cpanel done.

Thanks tho!

Steven Adams [EMAIL PROTECTED] 
DriftNet Web Services http://www.drifthost.com 
Home: +61 2 94274857
Fax: +61 2 94274857
Mobile +61 (0) 404 085644

-Original Message-
From: Matthew Seaman [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 16 September 2004 11:29 PM
To: Steven Adams
Cc: 'FreeBSD Questions'
Subject: Re: /libexec/ld-elf.so.1: Shared object libssl.so.3 not found

On Thu, Sep 16, 2004 at 08:49:29PM +1000, Steven Adams wrote:

 When im trying to run pkg_add im getting
 
 /libexec/ld-elf.so.1: Shared object libssl.so.3 not found
 
 Does anyone know what this mean and how I install it.

Well, the error message means that the dynamic loader (ld-elf.so)
cannot find a shared library that pkg_add requires.  The library
itself should be in:

/usr/lib/libssl.so.3

Both that, and pkg_add are standard parts of the base system, although
there are also versions of OpenSSL (security/openssl) and the pkg
tools suite (sysutils/pkg_install) in the ports system.  I'm guessing
that what has happened is that you've installed one or both of those
using pre-compiled packages, hence the trouble resolving the shared
libraries.

In general, you shouldn't install a port that duplicates part of the
base system unless you actually need to do that.  Especially if what
you're installing provides shared libraries.  Most of those ports
exist as ways of ensuring backwards compatability to older system
versions -- you certainly don't need them if you're running
4.10-RELEASE, 4.10-STABLE, 5.2.1-RELEASE or better.  There's probably
a couple of other releases from the 4.x series where you don't need
them either.

If you haven't got a /usr/lib/libssl.so.3 file on your computer, then
something is certainly rotten there.  The simplest way to recover is
to use cvsup to grab the latest sources from whatever installation
branch you're using, and then do a full build+install world+kernel
cycle as detailed in the Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

Do examine your /etc/make.conf to make sure you aren't inadvertently
disabling crypto support.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >