lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Thank you for that, which I expect will be helpful.

Mark F. Morss
Principal Analyst, Market Risk
Audinet 220-6757

             Matt Campbell                                                 
             .cc>                                                       To 
             Sent by:                  Lua list                            
             lua-bounces@bazar         <>       
                                       Re: dynamic linking problem with    
             02/24/2006 03:40          two(!??) luaxlib funcs              
             Please respond to                                             
                 Lua list                                                  

You would not link every future shared library against liblua.a; you
would link them against (which may be a symlink to or somesuch).  Whether you have to specify the path to on the command line probably depends on the linker.  I know
nothing about AIX, but with the GNU linker, if you specify -llua, the
linker first looks for, then liblua.a.  If that's not so with
the AIX linker, then you'll probably have to specify the path to when building shared libraries.

Matt Campbell
Lead Programmer
Serotek Corporation
"The Accessibility Anywhere People"