#84 shared library create fails

closed-fixed
5
2007-03-30
2007-03-14
No

The INSTALL document seems to give incorrect target 'cptshared', should be 'C_ptshared'? But that gives:

skaller@rosella:~/atlas/build/lib$ make C_ptshared
rm -f libatlas.so liblapack.so
make libatlas.so libclapack.so libptf77blas.so libf77blas.so \ libptcblas.so libcblas.so liblapack.so
make[1]: Entering directory `/home/skaller/atlas/build/lib'
ld -melf_x86_64 -shared -soname libatlas.so -o libatlas.so \ --whole-archive libatlas.a --no-whole-archive -lc -lpthread -lm
ld -melf_x86_64 -shared -soname liblapack.so -o liblapack.so \ --whole-archive libclapack.a
make[1]: *** No rule to make target `libptf77blas.a', needed by `libptf77blas.so'. Stop.
make[1]: Leaving directory `/home/skaller/atlas/build/lib'
make: *** [C_ptshared] Error 2

This is a --nof77 build.

Discussion

  • R. Clint Whaley

    R. Clint Whaley - 2007-03-15
    • assigned_to: nobody --> rwhaley
    • status: open --> open-accepted
     
  • R. Clint Whaley

    R. Clint Whaley - 2007-03-15

    Logged In: YES
    user_id=182470
    Originator: NO

    This is indeed a bug in 3.7.29. Both problems (bad target names and inability to build libs) are fixed in the next developer release.

    Thanks!
    Clint

    P.S., in the meantime, here's the correct targets if this is blocking your usage now:

    cptshared :
    - rm -f libatlas.so libclapack.so
    $(MAKE) libatlas.so libclapack.so libptcblas.so libcblas.so
    cshared :
    - rm -f libatlas.so libclapack.so
    $(MAKE) libatlas.so libclapack.so libcblas.so

     
  • R. Clint Whaley

    R. Clint Whaley - 2007-03-30

    Logged In: YES
    user_id=182470
    Originator: NO

    This should be fixed in 3.7.30. Please reopen if problem persists.

    Thanks,
    Clint

     
  • R. Clint Whaley

    R. Clint Whaley - 2007-03-30
    • labels: --> Install problem
    • status: open-accepted --> closed-fixed
     

Log in to post a comment.