NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-cobalt/39654: postgresql8.3.3 linking problem on NetBSD 4.0 / cobalt qube2 / mipsel



>Number:         39654
>Category:       port-cobalt
>Synopsis:       postgresql8.3.3 linking problem on NetBSD 4.0 / cobalt qube2 / 
>mipsel
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-cobalt-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 29 16:25:00 +0000 2008
>Originator:     Glyn Astill
>Release:        NetBSD 4.0 (GENERIC)
>Organization:
N/A
>Environment:
NetBSD bsd2.lorddef.net 4.0 NetBSD 4.0 (GENERIC) #0: Mon Apr  7 01:25:36 UTC 
2008  
glyn%bsd.lorddef.net@localhost:/usr/cdbuild/restorecd/usr/src/sys/arch/cobalt/compile/obj.cobalt/GENERIC
 cobalt
>Description:
Postgresql8.3.3-server compiles, however it fails with a segfault

[1]   Segmentation fault      "/usr/pkg/bin/po...
fgets failure: No such file or directory
The program "postgres" is needed by initdb but was not found in the
same directory as "/usr/pkg/bin/initdb".
Check your installation



>How-To-Repeat:
Compile as normal with make, make install then run initdb

#/etc/rc.d/pgsql initdb -E LATIN1 (encoding not required to repeat problem)

Or try to start the server

/etc/rc.d # ./pgsql start
>Fix:
In previous versions we used to edit Makefile.global, and change the parameters 
passed to ld from '-r' to '-r -d' - however we cannot find Makefile.global or 
equiv anymore.

As a side note, similar problems were noticed using 8.3.3 with debian etch on 
the qube2, and these were fixed in CVS at some point after the 8.3.3 release. 
So this problem may be gone entirely in 8.3.4. It is still a linker problem on 
mipsel machines thoug.

There are more details here:

http://archive.netbsd.se/?ml=port-mips&a=2007-10&t=5420917



Home | Main Index | Thread Index | Old Index