I'm having same problem with gettext when compiling blender

Hello I’m tring compiling blender svn on fedora 15

I’m having some troubles and I don’t now if the problem is with fedora who is alpha or with blender scons that can’t find the gettextlib

when I compile I get this message

Linking program ==> 'blender'
/usr/bin/ld: cannot find -lgettextlib
collect2: ld returned 1 exit status
scons: *** [/home/daniel/Source/build/linux2/bin/blender] Error 1
scons: building terminated because of errors.

but I have gettext lib and gettext devel instaled on my system take a look

$  ldconfig -p | grep gettext
    libgettextsrc-0.18.1.so (libc6,x86-64) => /usr/lib64/libgettextsrc-0.18.1.so
    libgettextpo.so.0 (libc6,x86-64) => /usr/lib64/libgettextpo.so.0
    libgettextpo.so (libc6,x86-64) => /usr/lib64/libgettextpo.so
    libgettextlib-0.18.1.so (libc6,x86-64) => /usr/lib64/libgettextlib-0.18.1.so

them I added this lines in the user-config.py
to try fix the problem

BF_GETTEXT = '/usr'
BF_GETTEXT_LIB = 'gettextlib'

but the problem continue happens

Someone could help with that.
Or tell me what I’m doing wrong.


I get to compiling right

The only need was change in the user-config.py
BF_GETTEXT_LIB = ‘gettextlib’ to BF_GETTEXT_LIB = ‘gettextpo’

then compiling finished with sucess but blender dosen’t open

show this message when I try open on terminal.

$ ./blender
found bundled python: /home/daniel/Source/install/linux2/2.56/python
Fatal Python error: Py_Initialize: Unable to get the locale encoding
LookupError: no codec search functions registered: can’t find encoding
Abortado (imagem do núcleo gravada)

Just go to /usr/lib64 and do this:

ln -sf libgettextlib-0.18.1.so libgettextlib.so

Then recompile, then everything will be good.