freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Stephen More <stephen.more AT gmail.com>
- To: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
- Cc: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Problems building freetds on RHEL4
- Date: Mon, 16 May 2005 11:14:54 -0400
When I run
/usr/bin/nm -B ./.libs/libtds_objects.a
../replacements/.libs/libreplacements.a
it produces output like this:
00002cfc T tds_alloc_bcp_column_data
00001728 T tds_alloc_client_sqlstate
0000064c T tds_alloc_compute_results
00000420 T tds_alloc_compute_row
000010f4 T tds_alloc_connection
00000c04 T tds_alloc_context
00000e74 T tds_alloc_cursor
The sed script creates nothing but blank spaces.
On 5/16/05, Stephen More <stephen.more AT gmail.com> wrote:
> Thanks, not much there:
>
> $ cat ./src/tds/.libs/libtds.ver
> { global:
> local: *; };
> $
>
>
> On 5/16/05, ZIGLIO, Frediano, VF-IT <Frediano.Ziglio AT vodafone.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
> > >
> > >
> >
> > A cat src/tds.libs/libtds.ver would help.
> >
> > From my pc
> > $ head src/tds/.libs/libtds.ver
> > { global:
> > tds5_send_optioncmd;
> > tds7_crypt_pass;
> > tds7_get_instance_port;
> > tds7_send_auth;
> > tds7_srv_charset_changed;
> > tds_add_row_column_size;
> > tds_alloc_bcp_column_data;
> > tds_alloc_client_sqlstate;
> > tds_alloc_compute_results;
> >
> > $ head src/tds/.libs/libtds.exp
> > tds5_send_optioncmd
> > tds7_crypt_pass
> > tds7_get_instance_port
> > tds7_send_auth
> > tds7_srv_charset_changed
> > tds_add_row_column_size
> > tds_alloc_bcp_column_data
> > tds_alloc_client_sqlstate
> > tds_alloc_compute_results
> > tds_alloc_compute_row
> >
> > freddy77
> >
>
-
[freetds] Problems building freetds on RHEL4,
Stephen More, 05/16/2005
- [freetds] Re: Problems building freetds on RHEL4, Stephen More, 05/25/2005
- <Possible follow-up(s)>
-
RE: [freetds] Problems building freetds on RHEL4,
ZIGLIO, Frediano, VF-IT, 05/16/2005
-
Re: [freetds] Problems building freetds on RHEL4,
Stephen More, 05/16/2005
- Re: [freetds] Problems building freetds on RHEL4, Stephen More, 05/16/2005
-
Re: [freetds] Problems building freetds on RHEL4,
Stephen More, 05/16/2005
-
RE: [freetds] Problems building freetds on RHEL4,
Lowden, James K, 05/16/2005
-
Re: [freetds] Problems building freetds on RHEL4,
Stephen More, 05/16/2005
- Re: [freetds] Problems building freetds on RHEL4, Stephen More, 05/24/2005
-
Re: [freetds] Problems building freetds on RHEL4,
Stephen More, 05/16/2005
Archive powered by MHonArc 2.6.24.