|
Well, it just occurred to me that my suggestion in my previous posting presumes that
<your Tk build directory>/PNG/libpng
directory is accessible to all your users and that the libpng.a in that dir is readable by all users.
If not, or if you you don't like the idea that some installed code under /usr relies on some lib in a build directory being readable, then modify the suggested procedure slightly -
. copy the libpng.a to somewhere that is world-readable, e.g. /usr/opt/perl5/lib64/site_perl/5.8.
+2/aix-thread-multi-64all/auto/Tk/png or wherever -
call this dir <directory_containing_libpng.a>
. in my ld command, change -L$PWD/libpng to -L<directory_containing_libpng.a>
|