Re: pkgdb -F problem

2009-05-24 Thread Leslie Jensen



Tim Judd skrev:

On Thu, May 21, 2009 at 10:20 AM, Frederique Rijsdijk <
frederi...@isafeelin.org> wrote:


Leslie Jensen wrote:


I've just updated my 7.1-RELEASE to 7.2-RELEASE using freebsd-update.

Everything went ok but I've got a problem when I do

pkgdb -F
/libexec/ld-elf.so.1: /usr/lib/libcrypt.so.4: unsupported file layout


I might have goofed before I updated when moving files around to make
space, so I need some advice on how to get rid of the error.


I cannot find out what port I need to reinstall in order to get libcrypt
healty again :-)



Probably everything related to portupgrade/portinstall/ruby etc.


-- Frederique




My 7.1R-p4 system doesn't have a /usr/lib/libcrypt.so.4

it has a /lib/libcrypt.so.4 though

so if you're "moving stuff around" -- and it's in the wrong directory, maybe
that's why?

In either case, libcrypt.so.4 is part of world, so you'd have to rebuild
that piece if relocating the file itself doesn't fix it.

And if you move libraries around, you need to update the linker helper
file.  ldconfig(8)


Good luck.


Hello again.

I've some digging work and probaly there's something with compiling C 
programs that is not working as it should.


I've one port that I was not able to upgrade so I tried to deinstall but 
it won't reinstall.


I've included the /usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/config.log

Any hints are greatly appreciated :-)

/Leslie

-- snip -

checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g 
wheel

checking for style of include used by gmake... GNU
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C 
compiled programs.

If you meant to cross compile, use `--host'.
See `config.log' for more details.
===>  Script "configure" failed unexpectedly.
Please report the problem to k...@freebsd.org [maintainer] and attach the
"/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/config.log" including the 
output
of the failure of your make command. Also, it might be a good idea to 
provide

an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

- snip ---

/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/config.log

- snip ---
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --disable-ltdl-install --disable-as-needed --enable-mt 
--x-libraries=/usr/local/lib --x-includes=/usr/local/include 
--with-libthai=yes --with-lua=no --with-ssl-dir=/usr --disable-debug 
--with-xinerama --with-qt-includes=/usr/local/include 
--with-qt-libraries=/usr/local/lib --with-extra-libs=/usr/local/lib 
--with-extra-includes=/usr/local/include --prefix=/usr/local 
--mandir=/usr/local/man --infodir=/usr/local/info/ 
--build=i386-portbld-freebsd7.2


## - ##
## Platform. ##
## - ##

hostname = blj01.no-ip.org
uname -m = i386
uname -r = 7.2-RELEASE
uname -s = FreeBSD
uname -v = FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009 
r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC


/usr/bin/uname -p = i386
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/lib
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## --- ##
## Core tests. ##
## --- ##

configure:2385: checking build system type
configure:2403: result: i386-portbld-freebsd7.2
configure:2425: checking host system type
configure:2440: result: i386-portbld-freebsd7.2
configure:2462: checking target system type
configure:2477: result: i386-portbld-freebsd7.2
configure:2539: checking for a BSD-compatible install
configure:2595: result: /usr/bin/install -c -o root -g wheel
configure:2634: checking whether build environment is sane
configure:2677: result: yes
configure:2692: checking for a thread-safe mkdir -p
configure:2731: result: /usr/local/bin/gmkdir -p
configure:2744: checking for gawk
configure:2760: found /usr/local/bin/gawk
configure:2771: result: gawk
configure:2782: checking whether gmake sets $(MAKE)
configure:2803: result: yes
configure:3004: checking for a BSD-compatible install
configure:3060: result: /usr/bin/install -c -o root -g wheel
configure:3086: checking for style of include used by gmake
configure:3114: result: GNU
configure:3261: checking for gcc
configure:3288: result: cc
configure:3526: checking for C compiler version
configure:3533: cc --

Re: pkgdb -F problem

2009-05-21 Thread Mel Flynn
On Thursday 21 May 2009 18:18:16 Leslie Jensen wrote:
> I've just updated my 7.1-RELEASE to 7.2-RELEASE using freebsd-update.
>
> Everything went ok but I've got a problem when I do
>
> pkgdb -F
> /libexec/ld-elf.so.1: /usr/lib/libcrypt.so.4: unsupported file layout

What does file /usr/libl/libcrypt.so.4 tell us?
-- 
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: pkgdb -F problem

2009-05-21 Thread Tim Judd
On Thu, May 21, 2009 at 10:20 AM, Frederique Rijsdijk <
frederi...@isafeelin.org> wrote:

> Leslie Jensen wrote:
>
>>
>> I've just updated my 7.1-RELEASE to 7.2-RELEASE using freebsd-update.
>>
>> Everything went ok but I've got a problem when I do
>>
>> pkgdb -F
>> /libexec/ld-elf.so.1: /usr/lib/libcrypt.so.4: unsupported file layout
>>
>>
>> I might have goofed before I updated when moving files around to make
>> space, so I need some advice on how to get rid of the error.
>>
>>
>> I cannot find out what port I need to reinstall in order to get libcrypt
>> healty again :-)
>>
>>
> Probably everything related to portupgrade/portinstall/ruby etc.
>
>
> -- Frederique
>


My 7.1R-p4 system doesn't have a /usr/lib/libcrypt.so.4

it has a /lib/libcrypt.so.4 though

so if you're "moving stuff around" -- and it's in the wrong directory, maybe
that's why?

In either case, libcrypt.so.4 is part of world, so you'd have to rebuild
that piece if relocating the file itself doesn't fix it.

And if you move libraries around, you need to update the linker helper
file.  ldconfig(8)


Good luck.
___
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: pkgdb -F problem

2009-05-21 Thread Frederique Rijsdijk

Leslie Jensen wrote:


I've just updated my 7.1-RELEASE to 7.2-RELEASE using freebsd-update.

Everything went ok but I've got a problem when I do

pkgdb -F
/libexec/ld-elf.so.1: /usr/lib/libcrypt.so.4: unsupported file layout


I might have goofed before I updated when moving files around to make 
space, so I need some advice on how to get rid of the error.



I cannot find out what port I need to reinstall in order to get libcrypt 
healty again :-)




Probably everything related to portupgrade/portinstall/ruby etc.


-- Frederique
___
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"


pkgdb -F problem

2009-05-21 Thread Leslie Jensen


I've just updated my 7.1-RELEASE to 7.2-RELEASE using freebsd-update.

Everything went ok but I've got a problem when I do

pkgdb -F
/libexec/ld-elf.so.1: /usr/lib/libcrypt.so.4: unsupported file layout


I might have goofed before I updated when moving files around to make 
space, so I need some advice on how to get rid of the error.



I cannot find out what port I need to reinstall in order to get libcrypt 
healty again :-)


Thanks

/Leslie
___
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"