Skip site navigation (1) Skip section navigation (2)

Re: [BUGS] Error in Makefile

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Ferruccio Zamuner <nonsolosoft(at)diff(dot)org>
Cc: pgsql-bugs(at)hub(dot)org
Subject: Re: [BUGS] Error in Makefile
Date: 1999-08-25 14:21:27
Message-ID: 199908251421.KAA12832@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
> Hi,
> 
> I've found an error during the compilation of PostgreSQL 6.5 and PostgreSQL
> 6.5.1.
> If I give the option for include TCL support, the compilation is interrupted
> with following error:
> 
> ld -shared -x -soname -o pltcl.so pltcl.o -L/usr/local/lib -ltcl80  
> /usr/libexec/elf/ld: cannot open pltcl.so: No such file or directory
> gmake[2]: *** [pltcl.so] Error 1
> 
> 
> I've fixed it quickly by hand changing the argument order of this comand,
> in following manner:
> 
> $ cd pl/tcp
> $ ld -shared -x -soname pltcl.o -o pltcl.so  -L/usr/local/lib -ltcl80
> 
> 
> Some info about my system: FreeBSD 3.0 stable and every tools (gcc,
> ld, gmake, flex, ...) is the standard given with this distribution.

OK, I run BSDI here, and this is the first time I have heard of this
problem.  The original line is clearly wrong.  Doing a 'gmake distclean'
I see:

	#$ rgrep soname
	./Makefile.shlib:      LDFLAGS_SL       := -x -Bshareable -soname $(shlib)
	./Makefile.shlib:      LDFLAGS_SL       := -x -shared -soname $(shlib)
	./Makefile.shlib:  LDFLAGS_SL           := -Bdynamic -shared -soname $(shlib)

Now, configure is generating other files that have some bug where the
-soname does not have the proper handling.  Can you point me to where
this problem may be coming from?

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist(at)candle(dot)pha(dot)pa(dot)us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-bugs by date

Next:From: Tom LaneDate: 1999-08-25 14:51:59
Subject: Re: [BUGS] Datetime -> Timestamp conversion
Previous:From: Christof PetigDate: 1999-08-25 10:03:07
Subject: Datetime -> Timestamp conversion

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group