Re: *** GMX Spamverdacht *** Re: Trouble running the hello world application
Dennis Schridde <[email protected]> Fri, 14 Sep 2012 16:07:55 +0200
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <1632121.BvW5rXtHqJ@ernie> |
Am Freitag, 14. September 2012, 15:37:26 schrieb Robert Vasek: > So I may be creating the shared library somehow wrong. > $ g++ hellobind.cpp -I/usr/include/lua5.1/ -c -fPIC > $ g++ -shared -Wl,-soname,libhellobind.so.0 -o \ > libhellobind.so.0.0 hellobind.o You need to link you SO with luabind, so the dynamic loader knows it has to load that library in addition. Add -lluabind to the end of the commandline. --Dennis ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ luabind-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luabind-user
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEABECAAYFAlBTOj4ACgkQjqfyF1DtJW57fQCdGOHRKnRct/rx15+0Gzw4fCxI ItgAnR86ejCUafJBUBa1i55JcFnHz7xg =Et/x -----END PGP SIGNATURE-----