Bug 761794 (GLUSTER-62)

Summary: booster LD_PRELOAD
Product: [Community] GlusterFS Reporter: Basavanagowda Kanur <gowda>
Component: boosterAssignee: Shehjar Tikoo <shehjart>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: mainlineCC: gluster-bugs, gowda
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTP Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Shehjar Tikoo 2009-06-25 03:42:09 UTC
I am not sure if the path you specified for the booster lib is correct.
Please check that path again. Did you specify a --prefix when running the build configure script?

Which release are you using?

What is the distro?

Comment 1 Basavanagowda Kanur 2009-06-25 06:28:52 UTC
[Migrated from savannah BTS] - bug 26613 [https://savannah.nongnu.org/bugs/?26613]

Tue 19 May 2009 12:57:48 PM GMT, original submission by Anonymous:

When following http://www.gluster.org/docs/index.php/BoosterConfiguration, I get the following error:

~$ LD_PRELOAD=/usr/local/lib/glusterfs/glusterfs-booster.so ./test
ERROR: ld.so: object '/usr/local/lib/glusterfs/glusterfs-booster.so' from LD_PRELOAD cannot be preloaded: ignored.

Comment 2 Shehjar Tikoo 2009-07-02 10:30:49 UTC
This error was being caused by certain logic in libtool that leads to the resulting booster binary being tagged as an executable. Consequently, a LD_PRELOAD on this binary would result in the error as reported by the user.

This problem is now fixed by a work-around that is already part of the mainline repo starting from commit: http://git.savannah.gnu.org/cgit/gluster.git/commit/?id=a3ece0caa52ad2eacf8a8691aaca53295cde972f

and will also be part of the 2.0.3 release.