Tommi,

You were right. I deleted all the old libraries and now it works.

But I still have the same problem for configuration variables.

Same component with news libraries :

jm@amande:~/T1$ ldd T1.so
     linux-vdso.so.1 =>  (0x00007fff7d7ff000)
     libtntnet.so.13 => /opt/publiweb/lib/libtntnet.so.13 
(0x00007f36c0a05000)
     libcxxtools.so.9 => /opt/publiweb/lib/libcxxtools.so.9 
(0x00007f36c06bc000)
     libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
(0x00007f36c03bb000)
     libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x00007f36c01a5000)
     libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f36bfde5000)
     libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f36bfbcd000)
     libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 
(0x00007f36bf96f000)
     libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 
(0x00007f36bf594000)
     libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x00007f36bf376000)
     libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f36bf172000)
     librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f36bef6a000)
     libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f36bec6d000)
     /lib64/ld-linux-x86-64.so.2 (0x00007f36c0ee5000)
jm@amande:~/T1$

jm@amande:~/T1$ cat tntnet.xml | grep dburl
   <dburl>my dburl</dburl>
jm@amande:~/T1$

jm@amande:~/T1$ make test
/opt/publiweb/bin/tntnet tntnet.xml
2014-02-03 17:49:09.87345 [8028.47499747989696] INFO tntnet.listener - 
listen ip= port=8000
2014-02-03 17:49:09.87358 [8028.47499747989696] INFO tntnet.tntnet - 
create 5 worker threads
2014-02-03 17:49:19.74758 [8028.47499750106880] INFO tntnet.worker - 
request GET / from client 172.20.212.238 user-Agent "Mozilla/5.0 (X11; 
Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0" user ""
2014-02-03 17:49:19.74794 [8028.47499750106880] INFO tntnet.comploader - 
load library "T1"
2014-02-03 17:49:19.74825 [8028.47499750106880] INFO tntnet.comploader - 
library "./T1.so"
2014-02-03 17:49:19.74835 [8028.47499750106880] ERROR component.T1 - 
DBURL :
2014-02-03 17:49:19.74837 [8028.47499750106880] INFO tntnet.worker - 
request GET / ready, returncode 200 OK - ContentSize: 138

Jean-Michel

Le 03/02/2014 15:55, Tommi Mäkitalo a écrit :
> Hi,
>
> you somehow compile using the cxxtools headers from git but link 
> against libcxxtools from version 2.2. I don't quite see why this 
> happens but you should check, which libcxxtools is installed in your 
> system. Try running "ldd
> /home/jm/TRAVAIL/prog/tntnet/lib/20140203/tntnet/sdk/tools/ecppc/.libs/lt-ecppc"
>  
> on your system. Then you may see, which cxxtools library it tries to 
> load.
>
> By the way: it is better to use CPPFLAGS instead of CXXFLAGS in the 
> configure invocation. I used to use CXXFLAGS also but recently I 
> learned, that CPPFLAGS is the better way to pass include flags to the 
> compiler (or actually the preprocessor).
>
> Tommi
>
> Am 03.02.2014 15:26, schrieb Jean-Michel Caricand:
>> I joined config.log file
>>
>> Thank for your help :)
>>
>> Jean-Michel
>>
>> Le 03/02/2014 14:33, Tommi Mäkitalo a écrit :
>>> Looks like you haven't used the right cxxtools includes. Maybe you 
>>> have cxxtools includes under /usr/include/cxxtools or 
>>> /usr/local/include/cxxtools but use a cxxtools library, which do not 
>>> match the includes. You may send you config.log to me so that I can 
>>> check that.
>>>
>>> Tommi
>>>
>>> Am 03.02.2014 13:41, schrieb Jean-Marc Choulet:
>>>> I must checkout only tntnet ? I ask that because I have this error 
>>>> when I try to build tntnet with the lastest git repository :
>>>>
>>>> make[2]: Entering directory 
>>>> `/home/jm/TRAVAIL/prog/tntnet/lib/20140203/tntnet/sdk/demos/calc'
>>>> ../../../sdk/tools/ecppc/ecppc -o calc.cpp calc.ecpp
>>>> /bin/bash ../../../tntnet-config --config=calc|gawk 
>>>> '/<\/tntnet>/{print "  <compPath>\n <entry>.libs</entry>\n  
>>>> </compPath>"} {print}' >tntnet.xml
>>>> /home/jm/TRAVAIL/prog/tntnet/lib/20140203/tntnet/sdk/tools/ecppc/.libs/lt-ecppc:
>>>>  
>>>> symbol lookup error: 
>>>> /home/jm/TRAVAIL/prog/tntnet/lib/20140203/tntnet/sdk/tools/ecppc/.libs/lt-ecppc:
>>>>  
>>>> undefined symbol: _ZN8cxxtools10LogManager8_enabledE
>>>> make[2]: *** [calc.cpp] Error 127
>>>> make[2]: Leaving directory 
>>>> `/home/jm/TRAVAIL/prog/tntnet/lib/20140203/tntnet/sdk/demos/calc'
>>>> make[1]: *** [all-recursive] Error 1
>>>> make[1]: Leaving directory 
>>>> `/home/jm/TRAVAIL/prog/tntnet/lib/20140203/tntnet/sdk/demos'
>>>> make: *** [all-recursive] Error 1
>>>>
>>>>
>>>> Jean-Michel
>>>
>>
>


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to