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

What's with this lib suffix?

From: Thomas Hallgren <thomas(at)tada(dot)se>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: What's with this lib suffix?
Date: 2006-02-25 12:17:56
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
I have a PL/Java bug entry from Peter E. that reads "It is customary in PostgreSQL land and 
elsewhere, that dynamically loadable modules do not have a lib prefix (compare,, etc.).  So I suggest that the shared object installed by PL/Java also be called 

I'd like to follow customary practices but as it turns out, I'm not the one adding the 'lib' 
prefix. It's done by the Makefile.shlib that comes bundled with pgxs. Here you can read 
things like:

  # Default shlib naming convention used by the majority of platforms
  shlib_major	= lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
  shlib_bare	= lib$(NAME)$(DLSUFFIX)

and sure enough, that's what gets used too. So what goes?

Personally, I'd prefer to keep the 'lib' prefix since it really *is* the default naming 
convention on all *n[iu]x platforms I've been in contact with. Not so on Windows though so 
perhaps that should change in Makefile.shlib?

I'm confused.

Kind Regards,
Thomas Hallgren


pgsql-hackers by date

Next:From: Martin PittDate: 2006-02-25 12:46:48
Subject: Re: Adding an ignore list to pg_restore, prototype patch #1
Previous:From: Hannu KrosingDate: 2006-02-25 11:38:40
Subject: Re: Pl/Python -- current maintainer?

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