Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2025 03:20:19 +0100
From:      ft <ml@ft-c.de>
To:        freebsd-stable@freebsd.org
Subject:   Re: error: postgresql extension pg_math in jail --- solved
Message-ID:  <6bfd4d2ae926f0227dababf60ee11b1251f64e8f.camel@ft-c.de>
In-Reply-To: <6f0fe9aeafb3437b4bc3bbb2b5cf40b1e79addb4.camel@ft-c.de>
References:  <6f0fe9aeafb3437b4bc3bbb2b5cf40b1e79addb4.camel@ft-c.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello

with the second question, chatgpt have a solution:
gmake install=C2=A0
  USE_PGXS=3D1=C2=A0
  VERBOSE=3D1=C2=A0
  LDFLAGS=3D"-L/usr/local/lib" CFLAGS=3D"-I/usr/local/include"

Franz

On Sun, 2025-01-26 at 02:33 +0100, ft wrote:
> Hello
>=20
> I would install pg_math.
>=20
> Inside a jail I install postgresql.=C2=A0
> --> It works fine.=20
>=20
> export UNAME_r=3D13.1-RELEASE-p3
> ALLOW_UNSUPPORTED_SYSTEM=3D1 portupgrade -N gsl
> --> no error
>=20
> cd pg_curl=20
> gmake install clean=20
> --> here I get the following error:
>=20
> ld: error: unable to find library -lgsl
> ld: error: unable to find library -lgslcblas
> cc: error: linker command failed with exit code 1 (use -v to see invocati=
on)
> gmake: ***
> [/usr/local/lib/postgresql/pgxs/src/makefiles/../../src/Makefile.port:14:
> pg_math.so] Error 1
>=20
> What should I do?
> (Do you need more information?)
>=20
> Franz
>=20
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6bfd4d2ae926f0227dababf60ee11b1251f64e8f.camel>