Re:about cross-compiling issue

Поиск
Список
Период
Сортировка
От Long Song
Тема Re:about cross-compiling issue
Дата
Msg-id 674f668b.5430.18fa931ee97.Coremail.songlong88@126.com
обсуждение исходный текст
Ответ на about cross-compiling issue  ("陈亚杰" <1441147871@qq.com>)
Список pgsql-hackers
Hi Chen Yajie,
 Your provided information is fuzzy, so I can only give some simple suggestions:
1. Use `file dict_snowball.so` to see the detail info of dict_snowball.so, maybe you can get some useful hint.
2. Use gdb to debug the initdb processing, then you can get more detail error info. That will help you figuring out the reason that initdb not working.


At 2024-05-23 16:08:05, "陈亚杰" <1441147871@qq.com> wrote:



Hello, I have a question about cross-compiling. I get an error when doing initdb for postgresql for arm64 architecture devices.
The error information is Error relocating /data/postgresql/postgresql-16.3-arm64-v8a-build/tmp_install/usr/postgresql/arm64-v8a/lib/dict_snowball.so: palloc0: symbol not found.
In fact, the library exists in this directory, and the palloc symbol exists but is not defined.
Any tips to go around this issue?
Thanks!

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Avoid possible dereference null pointer (src/backend/catalog/pg_depend.c)
Следующее
От: Ashutosh Bapat
Дата:
Сообщение: Re: Avoid possible dereference null pointer (src/backend/catalog/pg_depend.c)