Loading ...
Sorry, an error occurred while loading the content.
 

Configure error: cannot compute sizeof (int)

Expand Messages
  • Xuejun
    From config.log: configure:10295: checking size of int configure:10683: g++ -o conftest -g -O2 -D_GNU_SOURCE conftest.cpp -L/usr/local/lib -lccext2 -lccgnu2
    Message 1 of 3 , Aug 11, 2010
      From config.log:

      configure:10295: checking size of int
      configure:10683: g++ -o conftest -g -O2 -D_GNU_SOURCE conftest.cpp -L/usr/local/lib -lccext2 -lccgnu2 -lz -ldl -lrt -pthread -lpthread >&5
      configure:10686: $? = 0
      configure:10692: ./conftest
      ./conftest: error while loading shared libraries: libccext2-1.8.so.0: cannot open shared object file: No such file or directory
      configure:10695: $? = 127
      configure: program exited with status 127
      configure: failed program was: ......

      How to fix the problem? Thanks.
    • oliver
      ... Do you have commoncpp2 installed? oliver
      Message 2 of 3 , Aug 12, 2010
        On Thu, Aug 12, 2010 at 1:01 AM, Xuejun <xlu2000@...> wrote:
        > From config.log:
        >
        > configure:10295: checking size of int
        > configure:10683: g++ -o conftest -g -O2 -D_GNU_SOURCE conftest.cpp -L/usr/local/lib -lccext2 -lccgnu2 -lz -ldl -lrt -pthread -lpthread >&5
        > configure:10686: $? = 0
        > configure:10692: ./conftest
        > ./conftest: error while loading shared libraries: libccext2-1.8.so.0: cannot open shared object file: No such file or directory
        > configure:10695: $? = 127
        > configure: program exited with status 127
        > configure: failed program was: ......
        >
        > How to fix the problem? Thanks.

        Do you have commoncpp2 installed?

        oliver
      • Xuejun
        In previous message No.3: export LD_LIBRARY_PATH=/usr/local/lib The problem was solved.
        Message 3 of 3 , Aug 12, 2010
          In previous message No.3:
          export LD_LIBRARY_PATH=/usr/local/lib

          The problem was solved.



          --- In twinklephone@yahoogroups.com, oliver <ohemming@...> wrote:
          >
          > On Thu, Aug 12, 2010 at 1:01 AM, Xuejun <xlu2000@...> wrote:
          > > From config.log:
          > >
          > > configure:10295: checking size of int
          > > configure:10683: g++ -o conftest -g -O2 -D_GNU_SOURCE conftest.cpp -L/usr/local/lib -lccext2 -lccgnu2 -lz -ldl -lrt -pthread -lpthread >&5
          > > configure:10686: $? = 0
          > > configure:10692: ./conftest
          > > ./conftest: error while loading shared libraries: libccext2-1.8.so.0: cannot open shared object file: No such file or directory
          > > configure:10695: $? = 127
          > > configure: program exited with status 127
          > > configure: failed program was: ......
          > >
          > > How to fix the problem? Thanks.
          >
          > Do you have commoncpp2 installed?
          >
          > oliver
          >
        Your message has been successfully submitted and would be delivered to recipients shortly.