Re: Windows on SuSE? 7.4

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: elein <elein(at)norcov(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, elein(at)varlena(dot)com
Subject: Re: Windows on SuSE? 7.4
Date: 2003-08-11 04:08:32
Message-ID: 200308110408.h7B48Wd10751@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance


That line is certainly strange:

#0 0x40099ac5 in dllname () from /usr/lib/libwsock32.so

When you run configure, it says you are on Linux, right?

My guess is that gdb is getting confused because there is no dllopen
call in StreamServerPort().

---------------------------------------------------------------------------

elein wrote:
>
> SuSE 7.3, PostgreSQL cvshead (7.4)
>
> This is as far as I've gotten with 7.4.
> It is built and configured like my 7.3 installation
> on the same machine. I have built from CVS previously.
> And the production sources always builds very nice and clean.
>
> Nothing runs. gbd output is below. It is balking
> on loading a suspect library.
>
> I ordinarily would suspect some minor permission
> or configuration issue, but I cannot see one.
>
> Joe Conway suggested it might be a problem with the
> the windows configuration changes.
>
> My machine has WINE on it (windows) although
> I never use it. There really should be no
> reason for anything to be trying to link
> in a windows socket library.
>
> I don't have time to follow it further right now.
> But if someone else has a similar configuration
> and/or wine installed, it would be very helpful
> to compare 7.4 installations. I can provide
> config arguments and log if someone would find
> them useful.
>
> >gdb bin/postmaster
> GNU gdb 20010316
> Copyright 2001 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "i386-suse-linux"...
> (gdb) run -i -D /local/pghead/data
> Starting program: /local/pghead/bin/postmaster -i -D /local/pghead/data
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x40099ac5 in dllname () from /usr/lib/libwsock32.so
> (gdb) bt
> #0 0x40099ac5 in dllname () from /usr/lib/libwsock32.so
> #1 0x08121821 in StreamServerPort ()
> #2 0x08150996 in PostmasterMain ()
> #3 0x08123353 in main ()
> #4 0x4010e7ee in __libc_start_main () from /lib/libc.so.6
>
>
> elein(at)varlena(dot)com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Vadim Mikheev 2003-08-11 04:36:58 Farewell
Previous Message Neil Conway 2003-08-11 03:38:12 Re: sql99 compat list

Browse pgsql-performance by date

  From Date Subject
Next Message Serge Dorofeev 2003-08-11 08:59:45 How to force PostgreeSQL to work faster?
Previous Message elein 2003-08-11 03:04:40 Windows on SuSE? 7.4