Hi All,
some basic questions:

1. How is the -lz -lasound links to /lib/libz.so and /lib/libasound.so. Is there any way that i can change this default -lasound linker flag to my own path.
something link /home/something/libasound.so.

This will help while compiling of just adding the -lasound flag, and the .so is accessed from my own path. By default it always look into /lib or ld_library_path.
addiing path into ld_library_path doesnt work for lasound.

2. where is the default paths for PATH, LD_LIBRARY_PATH metioned ? for eg, PATH have /bin, /usr/bin etc,

3. How does /bin/ld works with -lz -lasound flags ?

Thanks and regards,
velu