I had the previous 2.5.11 installed on the build system.
On version 3.2.5 the "align_ntohll" function has been moved from 
libcyrus_imap.so.0 to libcyrus_min.so.0.
The build system linker was seeing 2.5.11 libs before the new built 3.2.5 ones, 
so it resolved align_ntohll on imap lib instead of min.
 
Just installing the new built package on the build system (with wrong linker 
resolution) and rebuilding the package from scratch solved the problem.
 
Thanks!
 
 
Sonicle S.r.l. : http://www.sonicle.com
Music: http://www.gabrielebulfon.com
eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets
 




----------------------------------------------------------------------------------

Da: Sebastian Hagedorn <[email protected]>
A: Info <[email protected]> 
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?










<<signature.asc>>

------------------------------------------
Cyrus: Info
Permalink: 
https://cyrus.topicbox.com/groups/info/Tab2c1c2f9e344da7-Mee4bcdc7095207cb7fe3a13b
Delivery options: https://cyrus.topicbox.com/groups/info/subscription

Reply via email to