Re: clsql-sys:database-type-load-foreign

Kevin Rosenberg <kevin-HJRc7zDS/[email protected]>
Newsgroups gmane.lisp.clsql.devel
Message-ID <[email protected]>
Petter Gustad wrote:
> No they are not linked. As I showed in my previous message "Red Hat
> Linux release 9 (Shrike)" and "SuSE SLES-8 (AMD64) VERSION = 8.1" does
> not have libpq.so. The older releases do have libpq.so linked to the
> latest version.

I'd not familiar with those two specific versions. But, for Debian and
SuSE Pro AMD64 9.1, the symbol links are in the -devel packages.

For example,

  [email protected]:~> cat /etc/issue              
  Welcome to SuSE Linux 9.1 (x86-64) - Kernel \r (\l).

  [email protected]:~> rpm -qf /usr/lib64/libpq.so
  postgresql-devel-7.4.2-24

And,

  [email protected]:~> cat /etc/issue                             
  Debian GNU/Linux testing/unstable \n \l

  [email protected]:~> dpkg -S /usr/lib/libpq.so
  postgresql-dev: /usr/lib/libpq.so

And,

  [email protected]:~> cat /etc/issue           
  Red Hat Enterprise Linux AS release 3 (Taroon)
  Kernel \r on an \m

  [email protected]:~> rpm -qf /usr/lib/libpq.so
  rh-postgresql-devel-7.3.6-1

I suspect on your systems you have not installed the -devel packages
for PostgreSQL. Using the distribution's mysql libraries, by the way,
will require the mysql-devel packages as well.

> Since at least two major Linux distributions does no do this and we'll
> to cope with it. I thought it would be easier to include the proposed
> change to clsql rather than getting Red Hat and SuSE to change their
> distributions and published ISO files. I could also be appropriate to
> add "so.4" (1) for the upcoming release, or even better search the
> given directories and match filenames, .so first and .so.[0-9]* next.

Every Linux distribution I've seen have the so.n files in the library
package and the .so symbolic links in the library-devel packages.  If
you look, my suspicion is that the proper symbolic link library names
are included in those packages in your distributions. Extreme
measures, such as have the companies change their ISO files will not
be required.

> Another possibility is of course to add a note to the clsql
> documentation that some major Linux releases have the given deficiency
> and that you should add the link yourself (if you have root access).

I think adding a note that the packages with the development library
symbolic links are required makes sense.

-- 
Kevin Rosenberg
kevin-HJRc7zDS/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.