[freetds] Re: Problems building freetds on RHEL4
Stephen More
stephen.more at gmail.com
Wed May 25 10:18:57 EDT 2005
A fix has been found !!!!
The problem: ECHO=echo -e
The fix: unset ECHO
Why: a rpm from Computer Associates International -- BrightStor
ARCserve Backup set this environment variable.
-Thanks for everyones help in helping me work through this.
Steve More
On 5/16/05, Stephen More <stephen.more at gmail.com> wrote:
> I can't seem to compile freetds-0.63 on a RHEL 4 box. I have included
> the error below.
>
> Could there be a problem with my build environment ?
>
> creating libtds_objects.la
> (cd .libs && rm -f libtds_objects.la && ln -s ../libtds_objects.la
> libtds_objects.la)
> /bin/sh ../../libtool --mode=link gcc -g -O2 -o libtds.la -rpath
> /usr/local/lib -version-info 4:0:0 -export-symbols-regex
> '^(tds_|tdsdump_|tds5_|tds7_).*' libtds_objects.la
> ../replacements/libreplacements.la -static-libgcc
> generating symbol list for `libtds.la'
> /usr/bin/nm -B ./.libs/libtds_objects.a
> ../replacements/.libs/libreplacements.a | sed -n -e 's/^.*[
> ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][
> ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/ /p' | /bin/sed 's/.* //' | sort |
> uniq > .libs/libtds.exp
> grep -E -e "^(tds_|tdsdump_|tds5_|tds7_).*" ".libs/libtds.exp" >
> ".libs/libtds.expT"
> mv -f ".libs/libtds.expT" ".libs/libtds.exp"
> echo -e "{ global:" > .libs/libtds.ver
> cat .libs/libtds.exp | sed -e "s/\(.*\)/;/" >> .libs/libtds.ver
> echo -e "local: *; };" >> .libs/libtds.ver
> gcc -shared -Wl,--whole-archive ./.libs/libtds_objects.a
> ../replacements/.libs/libreplacements.a -Wl,--no-whole-archive
> -Wl,-soname -Wl,libtds.so.4 -Wl,-version-script -Wl,.libs/libtds.ver
> -o .libs/libtds.so.4.0.0
> /usr/bin/ld:.libs/libtds.ver:2: syntax error in VERSION script
> collect2: ld returned 1 exit status
>
>
> -Thanks
> Steve More
>
More information about the FreeTDS
mailing list