Comments (3)
I'm seeing this too (on ubuntu 9.10 and 10.10).
The library is created, but it's seems like it is not sync'ed to disk before the attempt to link the test code. Running make again does work, but this isn't a very good solution when you want to automate this process!
from presto.
People without sudo/root might use a quick fix by just adding the lib path to the environment variable. Like adding an export line before slalib/sla_test, like
slalib: libsla$(LIBSUFFIX)
cd slalib ; $(FC) -o sla_test sla_test.f -fno-second-underscore -L$(PRESTO)/lib -lsla
export LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):$(PRESTO)/lib && \
slalib/sla_test
https://github.com/scottransom/presto/blob/master/src/Makefile#L130
from presto.
I concur with @cs150bf: one needs to add $PRESTO/lib to the LD_LIBRARY_PATH. You can do it by editing the Presto Makefile like @cs150bf suggested or -- this is what I do -- you can add it to your .bashrc:
export LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):$(PRESTO)/lib
Note: if you want to run the Presto build using sudo, your user's environment variables won't follow when you do sudo make. Instead, you can try sudo -E make, which will attempt to preserve them. It might not work under your system though, depending how sudo is configured.
from presto.
Related Issues (20)
- Undefined reference error during installation HOT 15
- accelsearch frequency range HOT 4
- Using prepsubband for only a fraction of a dataset HOT 3
- Build issue with pulsestack.py HOT 2
- `rfifind` and OpenMP HOT 4
- Separating `FFTFIT` into a separate Python package? HOT 2
- Automated documentation for `PRESTO`? HOT 2
- Packaging `PRESTO` for multiple OSes? HOT 3
- ld: cannot find -lfftw3f: No such file or directory HOT 2
- undefined symbol: _gfortran_st_close HOT 2
- PFD file format? HOT 4
- Problem installing PRESTO with Apple M2 - Ventura 13.2 HOT 2
- Remove the Pusar Miner in FAQ HOT 5
- a memory issue about test_presto_python HOT 4
- ERROR: Failed building wheel for pyslalib HOT 3
- ERROR:makewisdom.c:4:10: fatal error: meminfo.h: No such file or directory HOT 1
- Discrepancy between time for single pulse with single_pulse_search.py and watefaller.py HOT 1
- Prepsubband writes less samples than original file has. HOT 6
- Installing `PRESTO`'s Python bindings fails for Python 3.12. HOT 4
- Doc fix HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from presto.