Thanks, but no, reconstruct is the new binary.
I also noticed that it's complaining on libcyrus_imap.so.0, so I looked into it:
sonicle@wwwclone:/sonicle/bin$ elfdump /sonicle/lib/libcyrus_imap.so.0 | grep align_ntohll
[2623] 0x00000000 0x00000000 FUNC GLOB D 0 UNDEF align_ntohll
[6958] 0x00000000 0x00000000 FUNC GLOB D 0 UNDEF align_ntohll
[2623] align_ntohll
[704] 0x0012db00 0x00046546 R_386_JMP_SLOT align_ntohll
[2623] DBL [13] libcyrus.so.0 align_ntohll
R_386_JMP_SLOT 0x12db00 .rel.plt align_ntohll
sonicle@wwwclone:/sonicle/bin$ elfdump /sonicle/lib/libcyrus_imap.so.0 | grep align_ntohll
[2623] 0x00000000 0x00000000 FUNC GLOB D 0 UNDEF align_ntohll
[6958] 0x00000000 0x00000000 FUNC GLOB D 0 UNDEF align_ntohll
[2623] align_ntohll
[704] 0x0012db00 0x00046546 R_386_JMP_SLOT align_ntohll
[2623] DBL [13] libcyrus.so.0 align_ntohll
R_386_JMP_SLOT 0x12db00 .rel.plt align_ntohll
Looks like it's there...
If I do the same on the running 2.5.11 machine:
sonicle@www:~$ elfdump /sonicle/lib/libcyrus_imap.so.0 | grep align_ntohll
[569] 0x00000000 0x00000000 FUNC GLOB D 0 UNDEF align_ntohll
[2558] 0x00000000 0x00000000 FUNC GLOB D 0 UNDEF align_ntohll
[569] align_ntohll
[424] 0x000846a0 0x000123e2 R_386_JMP_SLOT align_ntohll
[569] DBL [7] libcyrus.so.0 align_ntohll
R_386_JMP_SLOT 0x846a0 .rel.plt align_ntohll
[569] 0x00000000 0x00000000 FUNC GLOB D 0 UNDEF align_ntohll
[2558] 0x00000000 0x00000000 FUNC GLOB D 0 UNDEF align_ntohll
[569] align_ntohll
[424] 0x000846a0 0x000123e2 R_386_JMP_SLOT align_ntohll
[569] DBL [7] libcyrus.so.0 align_ntohll
R_386_JMP_SLOT 0x846a0 .rel.plt align_ntohll
Same output, I don't notice any difference... :(
Gabriele
Sonicle S.r.l. : http://www.sonicle.com
eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets
----------------------------------------------------------------------------------
Da: Sebastian Hagedorn <Hagedorn@xxxxxxxxxxxx>
A: Info <info@xxxxxxxxxxxxxxxxxx>
Data: 7 gennaio 2021 11.03.28 CET
Oggetto: Re: symbol align_ntohll: referenced symbol not found
Just a guess: is it possible the reconstruct binary is not from your 3.2.5 build, but from the old 2.5.11 build?
What does ldd tell you for reconstruct itself?
Cheers,
Sebastian
On 7 Jan 2021, at 10:11, Gabriele Bulfon via Info wrote:
> Hi, I upgraded a test cloned machine with real cyrus 2.5.11 content.
> I've made my own illumos package from sources of cyrus 3.2.5, for our XStreamOS distro.
> Once upgraded cyrus starts correctly and authentication of a user runs fine.
> So I wanted to run "reconstruct -V max" as stated in the documentation, though I get this error:
>
> sonicle@wwwclone:/sonicle$ reconstruct -V max
> ld.so.1: reconstruct: fatal: relocation error: file /sonicle/lib/libcyrus_imap.so.0: symbol align_ntohll: referenced symbol not found
> Killed
>
> I've seen that the missing function is inside lib/byteorder64.c, which is built and linked into libcyrus_min.so.0 and is there:
>
> sonicle@wwwclone:/sonicle$ ldd /sonicle/lib/libcyrus_imap.so.0
> ...
> libcyrus_min.so.0 => /sonicle/lib/libcyrus_min.so.0
> ...
>
> Also, that functon can be seen in the library:
>
> sonicle@wwwclone:/sonicle$ elfdump /sonicle/lib/libcyrus_min.so.0 | grep align_ntohll
> [200] 0x00009120 0x00000027 FUNC GLOB D 1 .text align_ntohll
> [523] 0x00009120 0x00000027 FUNC GLOB D 0 .text align_ntohll
> [255] 0x00009120 0x00000027 FUNC GLOB D 1 .text align_ntohll
> [200] align_ntohll
> [200] DB align_ntohll
>
>
> What may be wrong?
------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/Tab2c1c2f9e344da7-M2432e5acf1dd898bf1c5feb9
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
<<signature.asc>>