Don't use -fPIC flag for amplgsl because it is used globally.