|
a/README-DYNAMIC |
|
b/README-DYNAMIC |
|
... |
|
... |
10 |
- mysql-3.21 or 3.22
|
10 |
- mysql-3.21 or 3.22
|
11 |
- FreeBSD 2.2.8 and 3.1, Linux rh4.2 and 5.2, solaris2.5
|
11 |
- FreeBSD 2.2.8 and 3.1, Linux rh4.2 and 5.2, solaris2.5
|
12 |
|
12 |
|
13 |
In case things don't workout here follows a small cookbook to get
|
13 |
In case things don't workout here follows a small cookbook to get
|
14 |
things to work under different circumstances:
|
14 |
things to work under different circumstances:
|
|
|
15 |
|
|
|
16 |
TCL issues:
|
|
|
17 |
===========
|
|
|
18 |
On FreeBSD 3.2 and later which are ELF-based, tclsh (up to and including
|
|
|
19 |
8.2.0) and wish should be linked with the -rdynamic gcc option (or
|
|
|
20 |
equivalently -Wl,-export-dynamic, or -export-dynamic for ld). The
|
|
|
21 |
standard TCL Makefiles don't do it. This will preclude any kind of
|
|
|
22 |
dynamic loading because Tcl_PkgProvide() will be undefined when trying
|
|
|
23 |
to load the module. -rdynamic should probably be used on all ELF-based
|
|
|
24 |
systems (it is used on Linux already).
|
|
|
25 |
|
|
|
26 |
Fix: edit the tclsh and wish Makefiles and add -rdynamic to the link
|
|
|
27 |
command (if gcc is used, or -export-dynamic if ld is used).
|
|
|
28 |
|
15 |
|
29 |
|
16 |
MySQL issues:
|
30 |
MySQL issues:
|
17 |
=============
|
31 |
=============
|
18 |
- If you're using MySQL 3.22.xx or newer, MySQL has full shared lib
|
32 |
- If you're using MySQL 3.22.xx or newer, MySQL has full shared lib
|
19 |
support, you can skip this paragraph.
|
33 |
support, you can skip this paragraph.
|