Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

building GD/gcc linking..



"Grant M." writes:

>     gcc ./test.c -o test -L/usr/lib -l libjpeg

Try this instead:

    gcc ./test.c -o test -ljpeg

BTW, the -L/usr/lib is superfluous in this case.

Regards,

--kevin (former bugzilla administrator, one of my favorite side-jobs)

-- 
"I'm on the bike and I go into a rage -- I shriek for about five
 seconds, I shake like mad, my eyes kind of bulge, and I'd never quit.
 That's heart.  That's soul.  That's guts"
    -- Lance Armstrong




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org