Discussion:
File maker server
Barbara M.
2004-03-02 08:50:31 UTC
Permalink
I am triing to instal a file maker server daemon on a TSL 2.0

I have this (glibc) error:

# /etc/init.d/fmserverd start
Starting fmserverd: /usr/bin/fmserverd: relocation error:
/usr/bin/fmserverd: symbol __on_exit, version GLIBC_2.0 not defined in file libc.so.6 with
link time reference
[FAILED]


I have noticied that there is reference to GLIBC_2.0:


/var/cache/swup/rdfs/http:/http.trustix.org/pub/trustix/releases/trustix-2.0/i586/trustix/rdfs/resources/libc.so.6(GLIBC__2.0).rdf


Can this help me or there is any other way to have fmserverd working in a
TSL2 box?

Regards, B.
Gerald Dachs
2004-03-02 11:05:47 UTC
Permalink
Post by Barbara M.
I am triing to instal a file maker server daemon on a TSL 2.0
# /etc/init.d/fmserverd start
/usr/bin/fmserverd: symbol __on_exit, version GLIBC_2.0 not defined in
file libc.so.6 with link time reference
Try to rebuild it

Gerald
--
Gerald Dachs ***@trustix.org
http://www.trustix.org/~gda/ TSL developer
Barbara M.
2004-03-02 13:27:00 UTC
Permalink
Post by Gerald Dachs
Post by Barbara M.
I am triing to instal a file maker server daemon on a TSL 2.0
# /etc/init.d/fmserverd start
/usr/bin/fmserverd: symbol __on_exit, version GLIBC_2.0 not defined in
file libc.so.6 with link time reference
Try to rebuild it
Can you give me info on how to rebuild it?
I think that I have to change something (the simple rpmbuild --rebuild
...src.rpm give me the same package).

Thanks, B.
Gerald Dachs
2004-03-02 14:37:01 UTC
Permalink
Post by Barbara M.
Post by Barbara M.
I am triing to instal a file maker server daemon on a TSL 2.0
# /etc/init.d/fmserverd start
/usr/bin/fmserverd: symbol __on_exit, version GLIBC_2.0 not defined
in file libc.so.6 with link time reference
Try to rebuild it
Can you give me info on how to rebuild it?
I think that I have to change something (the simple rpmbuild --rebuild
...src.rpm give me the same package).
You got a new package that gives you the same error message?
Sorry, I can't believe this. If there is an unresolved external, then
the package will not build. If there is no unresolved external, then
you will not get an error.
Most likely you still have an old fmserverd hangin around.

Gerald
--
Gerald Dachs ***@trustix.org
http://www.trustix.org/~gda/ TSL developer
d***@sympatico.ca
2004-03-02 15:34:47 UTC
Permalink
(Should work with Redhat 8.0 and with other glibc2.2 based systems as
well)
Author: Christof Baumgrtner - ***@giggo.de
Copyright: 2002, 2003, 2004 Christof Baumgrtner
Last updated: Jan 16, 2004

After installing Filemaker Server 5.5 on Redhat Linux 7.3, 9.0 or Fedora
Core 1 you will probably end up with the following error message while
running the fms_registration oder fmserverd application:

fms_registration: relocation error: fms_registration: symbol __on_exit,
version GLIBC_2.0 not defined in file libc.so.6 with link time reference
or
fmserverd: relocation error: fmserverd: symbol __on_exit, version
GLIBC_2.0 not defined in file libc.so.6 with link time reference


This is due to the fact that Filemaker Server 5.5 is linked against the
glibc2.0 libraries but Redhat 7.3, 9.0 and Fedora Core 1 are running the
glibc2.2 libraries by default.

The solution is to install the glibc2.1 compatibility libraries and stuff.
Unfortunately it is not enough to simply include these libraries in the
LD_LIBRARY_PATH or LD_PRELOAD because the new ld (GNU linker) will use the
new glibc2.2 anyway. You can't even change this behaviour by using
ldconfig.
Fortunately there is a way to call the old dynamic linker directly which
then will use the glibc2.1 libraries.

So how is all this done?
(All the example assume that you have installed Filemaker Server and the
compatibility libraries at the default locations)

1. Become root
su - root

2. Download and install the compat-glibc-6.2-2.1.3.2.i386.rpm package.
Example:
rpm --install
ftp://speakeasy.rpmfind.net/linux/redhat/7.3/en/os/i386/RedHat/RPMS/compat-glibc-6.2-2.1.3.2.i386.rpm

3. Create a file called startoldglibcappin/usr/bin and put in the
following lines:
#!/bin/sh
LD_LIBRARY_PATH=${LD_OLDGLIBC_LIBRARY_PATH}:/usr/i386-glibc21-linux/lib/ \
LD_PRELOAD=${LD_OLDGLIBC_PRELOAD} /usr/i386-glibc21-linux/lib/ld-2.1.3.so
\
"$@"

or download it here and extract it.

4. Make the wrapper script executable
chmod +x /usr/bin/startoldglibcapp

5. Test it by running the Filemaker registration application. Use your own
registration code!
Example:
/usr/bin/startoldglibcapp /usr/bin/fms_registration
<your_registration_code> /usr/bin/fmserverd

6. Test running Filemaker Server. If you don't see any error messages it
should run ;-)
Example:
/usr/bin/startoldglibcapp /usr/bin/fmserverd

7. Stop the server
Example:
/usr/bin/startoldglibcapp /usr/bin/fmserverd stop

8. Change the startscript to start the Filemaker Binary from the dynamic
linker as above.
vi /etc/init.d/fmserverd
Find the line
fmserverd=/usr/bin/fmserverd
and change it to
fmserverd="/usr/bin/startoldglibcapp /usr/bin/fmserverd"

9. Test it by starting and stopping the server
Example:
/etc/init.d/fmserverd start
/etc/init.d/fmserverd stop

10. That's it!

http://www.giggo.de/publications/fmserver_redhat.html

result of:google filemaker server howto
I'm Feeling Lucky
Post by Barbara M.
Post by Gerald Dachs
Post by Barbara M.
I am triing to instal a file maker server daemon on a TSL 2.0
# /etc/init.d/fmserverd start
/usr/bin/fmserverd: symbol __on_exit, version GLIBC_2.0 not defined in
file libc.so.6 with link time reference
Try to rebuild it
Can you give me info on how to rebuild it?
I think that I have to change something (the simple rpmbuild --rebuild
...src.rpm give me the same package).
Thanks, B.
_______________________________________________
tsl-discuss mailing list
http://lists.trustix.org/mailman/listinfo/tsl-discuss
Gerald Dachs
2004-03-02 15:45:02 UTC
Permalink
Post by d***@sympatico.ca
After installing Filemaker Server 5.5 on Redhat Linux 7.3, 9.0 or Fedora
Core 1 you will probably end up with the following error message while
fms_registration: relocation error: fms_registration: symbol __on_exit,
version GLIBC_2.0 not defined in file libc.so.6 with link time reference
or
fmserverd: relocation error: fmserverd: symbol __on_exit, version
GLIBC_2.0 not defined in file libc.so.6 with link time reference
This is due to the fact that Filemaker Server 5.5 is linked against the
glibc2.0 libraries but Redhat 7.3, 9.0 and Fedora Core 1 are running the
glibc2.2 libraries by default.
This is why I told her to rebuild, after a successful rebuild there should
be no need to use the compatiblilty libraries.

Gerald
--
Gerald Dachs ***@trustix.org
http://www.trustix.org/~gda/ TSL developer
Oystein Viggen
2004-03-02 18:06:49 UTC
Permalink
* ["Gerald Dachs"]
Post by Gerald Dachs
This is why I told her to rebuild, after a successful rebuild there should
be no need to use the compatiblilty libraries.
I believe filemaker is a commercial binary-only product. (looks that
way from their web pages). The .src.rpm most likely just a thing that
repacks a tarball of binaries into an rpm with the same binaries and has
a few install scripts in %post.

If so, rebuilding the .src.rpm is pointless for fixing this problem.

Øystein
--
PHP: the wu-ftpd of www.
Gerald Dachs
2004-03-02 19:38:27 UTC
Permalink
Post by Oystein Viggen
* ["Gerald Dachs"]
Post by Gerald Dachs
This is why I told her to rebuild, after a successful rebuild there
should be no need to use the compatiblilty libraries.
I believe filemaker is a commercial binary-only product. (looks that
way from their web pages). The .src.rpm most likely just a thing that
repacks a tarball of binaries into an rpm with the same binaries and has
a few install scripts in %post.
If so, rebuilding the .src.rpm is pointless for fixing this problem.
this explains much

thanks Øystein

Gerald
--
Gerald Dachs ***@trustix.org
http://www.trustix.org/~gda/ TSL developer
Barbara M.
2004-03-02 22:37:51 UTC
Permalink
Post by d***@sympatico.ca
10. That's it!
http://www.giggo.de/publications/fmserver_redhat.html
This solved the problem. Thanks.
Post by d***@sympatico.ca
result of:google filemaker server howto
I'm Feeling Lucky
Searched for fmserver glibc ... without great success ... ;-)
Post by d***@sympatico.ca
Post by Gerald Dachs
Try to rebuild it
Tried without results. I think the problem (as reported on the other
post on the net), is that it uses glibc internal interfaces ...

And, I think that recompiling glibc is not a good solutions, require me to
exclude glibc from automatic swup upgrade ...

In any case, the problem seem well solved. Thanks to all.


Regards, B.

Loading...