| From: | Ron Johnson <ronljohnsonjr(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Postgresql 15 client arm64 and Qt 5.15 |
| Date: | 2023-12-18 00:02:36 |
| Message-ID: | CANzqJaB08kcwBjoa1xdaffc24CQy5tSZ5m8KiJq=etLazNi28w@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Sun, Dec 17, 2023 at 5:14 PM Piergiorgio Valli <piervalli(at)gmail(dot)com>
wrote:
> Hi all,
>
> I should use the client of Postgresql on Arm64, Host where i build is
> Ubuntu 20.04 64bit
>
> I have downloaded the library from Ubuntu repository
> http://ftp.de.debian.org/debian/pool/main/p/postgresql-15/libpq-dev_15.5-0+deb12u1_arm64.deb
>
> When I am building the library with libpq.a it shows following error,
> probably there are missings libraries. Do you know the additional library
> that I need to link?
>
> /home/pier/Android/Sdk/ndk/22.1.7171670/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -c -target aarch64-linux-android21 -fno-limit-debug-info -fPIC -fstack-protector-strong -DANDROID -O2 -fPIC -I. -I/home/pier/data/build/libpq-dev_15.5-0+deb12u1_arm64/data/usr/include -I/home/pier/data/build/libpq-dev_15.5-0+deb12u1_arm64/data/usr/include -I/home/pier/data/build/qt-everywhere-src-5.15.10/qtbase/mkspecs/android-clang -o main.o main.cpp
> > /home/pier/Android/Sdk/ndk/22.1.7171670/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target aarch64-linux-android21 -fno-limit-debug-info -Wl,--build-id=sha1 -Wl,--no-undefined -Wl,-z,noexecstack -shared -o psql main.o -Llibpq-dev_12.2-4_arm64/data/usr/lib/aarch64-linux-gnu/lib -L/home/pier/data/build/libpq-dev_15.5-0+deb12u1_arm64/data/usr/lib -lpq -llog -lz -lm -ldl -lc
> d: error: undefined symbol: pg_encoding_mblen
> > >>> referenced by fe-exec.o:(PQescapeStringInternal) in archive /home/pier/data/build/libpq-
>
> Did you directly download that one package, or install it via apt?
Because I wonder why it did not pull in the required dependencies.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2023-12-18 00:17:48 | Re: Postgresql 15 client arm64 and Qt 5.15 |
| Previous Message | Tom Lane | 2023-12-17 22:30:48 | Re: Postgresql 15 client arm64 and Qt 5.15 |