Had the same error, when pushing to my personal repository:
ld.so.1: git: fatal: relocation error: file 
/usr/local/libexec/git-core/git: symbol deflateBound: referenced symbol not 
found

The same fix worked for me:

$ export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

(/usr/sfw/lib was already in $LD_LIBRARY_PATH)

Thanks for the helpful post!


On Wednesday, 24 October 2012 22:22:39 UTC-7, Diego A. Torres wrote:
>
> Great! that worked.
> I had zlib installed, but I was missing:
>
> $ export LD_LIBRARY_PATH=/usr/local/lib:/usr/sfw/lib:$LD_LIBRARY_PATH
>
> Thank you!
>
> Diego.
>
> On Tuesday, October 23, 2012 10:14:03 AM UTC-6, Diego A. Torres wrote:
>>
>> Hello there, 
>>
>> May some of you help me to troubleshoot this one?:
>>
>> Just download and installed packages for Solaris 10, as my server does 
>> not have exit to the internet, just follow:
>>
>>
>> https://groups.google.com/forum/?fromgroups=#!searchin/git-users/solaris$20install/git-users/RupbBGmhWTM/R1l_Cyp9KU0J
>>
>> Now, I can create bare repositories, and everything seems to work well, 
>> but when removing the local repository folder and trying:
>>
>> $ git clone user@server:path/to/repository/repository.git
>>
>> I get the following error:
>>
>> error: pack-objects died of signal 9
>> error: git upload-pack: git-pack-objects died with error.remote: ld.so.1: 
>> git: fatal: 
>> relocation error: file /usr/local/libexec/git-core/git: symbol 
>> deflateBound: referenced symbol not found
>> remote: aborting due to possible repository corruption on the remote side.
>> fatal: git upload-pack: aborting due to possible repository corruption on 
>> the remote side.fatal: 
>> protocol error: bad pack header
>>
>> also, if i execute in the server:
>>
>> # cd /path/to/repository/repository.git
>> # git repack
>>
>> I receive the following error:
>>
>> Counting objects: 3, done.
>> ld.so.1: git: fatal: relocation error: file 
>> /usr/local/libexec/git-core/git: symbol deflateBound: referenced symbol not 
>> found
>>
>> Here some ideas:
>> 1. Which libraries are involved in the package/repackage process?
>> 2. Is there a command line process to follow in order to test the package 
>> process step by step?
>> 3. Is there a verbose mode of the package process so we can see step by 
>> step what's happening and debug the process?
>>
>> Thanks in advance.
>>
>> Diego.
>>
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to